ISWDistClientSettings::SWDistEnabled is a read-only property, in Configuration Manager, that indicates whether the Software Distribution Advertised Programs Client Agent is enabled.

[IDL]
HRESULT SWDistEnabled([out, retval] long* pVal);

Parameters

pVal


Data type: longQualifiers: [out, retval]Pointer to a value indicating if the Software Distribution Advertised Programs Client Agent is enabled. Possible values are:

0

Agent is not enabled.

1

Agent is enabled.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.