The ISmsClient::RemoveAssignedSites method, in Configuration Manager, removes all site assignments for the client.
[IDL] HRESULT RemoveAssignedSites();
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
Local administrator privileges are required to call this method.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.