In Configuration Manager, the SiteCode property contains the site code for the site server.

[IDL]
HRESULT SiteCode([in] BSTR SiteCode);

HRESULT SiteCode([out,retval] BSTR* SiteCode);

Parameters

SiteCode

Data type: BSTRQualifiers: [in; out, retval]On input, the site code to set. On output, this parameter points to the retrieved site code.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following value.

S_OK

The method succeeded.

Remarks

See Also