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 ); |
Parameters
- sSiteCode
- Data type: BSTRQualifiers: [out, retval]Pointer to the new assigned site code of the client.
Return Value
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Remarks
Using this method is the same as forcing an auto-assignment on the client.
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
Send comments about this topic to Microsoft.