Partager via


ISmsClient::RemoveAssignedSites Method

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

The ISmsClient::RemoveAssignedSites method, in Configuration Manager, removes all site assignments for the client.

[IDL]
HRESULT RemoveAssignedSites();

Parameters

None.

Return Value

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

  • S_OK
    The method succeeded.

Remarks

Local administrator privileges are required to call this method.

Requirements

smsclient.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

ISmsClient Client COM Automation Interface
Configuration Manager Client Configuration