The ISmsClient::ReAssignSite method, in Configuration Manager, forces the client to rediscover its assigned site and then reassign itself to that site.
[IDL] HRESULT ReAssignSite( BSTR* sSiteCode );
- Data type: BSTRQualifiers: [out, retval]Pointer to the new assigned site code of the client.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
Using this method is the same as forcing an auto-assignment on the client.
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.