The SetAssignedSite method, in Configuration Manager, sets the client's assigned site.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
UInt32 SetAssignedSite( String sSiteCode );
- Data type: StringQualifiers: [in]Site code to which the client is being assigned.
A UInt32 data type that is 0 to indicate success or non-zero to indicate failure.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
ReferenceSMS_Client Client WMI Class
EvaluateMachinePolicy Method in Class SMS_Client
GetAssignedSite Method in Class SMS_Client
RequestMachinePolicy Method in Class SMS_Client
ResetPolicy Method in Class SMS_Client
SetGlobalLoggingConfiguration Method in Class SMS_Client
TriggerSchedule Method in Class SMS_Client