Partager via


ISWDistClientSettings::SWDistEnabled Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: long

    Qualifiers: [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

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

SWDistClientSettings Class