IGPMSitesContainer::GetSite method (gpmgmt.h)
Returns the scope of management (SOM) object that corresponds to the site.
Syntax
HRESULT GetSite(
[in] BSTR bstrSiteName,
[out] IGPMSOM **ppSOM
);
Parameters
[in] bstrSiteName
Required. The site of interest; for example, Default-first-site-name. Use null-terminated string.
[out] ppSOM
Address of a pointer to the IGPMSOM interface.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns a reference to a GPMSOM object.VB
Returns a reference to a GPMSOM object.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |