IGPMSitesContainer interface

The IGPMSitesContainer interface provides the methods required to access the scope of management (SOM) objects that represent sites in a forest. The GPMSitesContainer object represents the forest-level container that contains the actual sites in a forest. To create a GPMSitesContainer object, call the IGPM::GetSitesContainer method.

Members

The IGPMSitesContainer interface inherits from the IDispatch interface. IGPMSitesContainer also has these types of members:

Methods

The IGPMSitesContainer interface has these methods.

MethodDescription
GetSite

Returns the scope of management (SOM) object that corresponds to the site.

SearchSites

Retrieves a collection of SOMs for the specified search criteria.

 

Properties

The IGPMSitesContainer interface has these properties.

PropertyDescription

Domain

Name of the domain being used to perform site operations. This is a full DNS name, such as, example.microsoft.com.

DomainController

Name of the domain controller being used to perform site operations. This can be a DNS name or a NetBIOS name.

Forest

Full DNS name of the forest in which the GPMSitesContainer object resides; this is the name of the forest root domain.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

GPMC on Windows Server 2003 or Windows XP with SP1

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMSitesContainer is defined as 4725A899-2782-4D27-A6BB-D499246FFD72

See also

IGPM

 

 

Show:
© 2014 Microsoft