Share via


ITsMediaClass::SiteCode Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: BSTR

    Qualifiers: [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

Concepts

ITsMediaClass Interface