In Configuration Manager, the GetAssignedSite method gets the current assigned site of the client.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

UInt32 GetAssignedSite(
	 String sSiteCode



Data type: StringQualifiers: [out]The site code for the currently assigned site.

Return Values

A UInt32 data type that is 0 to indicate success or non-zero to indicate failure.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.