IGPMGPOCollection::get__NewEnum method

Retrieves an enumerator for the collection.

Syntax


HRESULT get__NewEnum(
  [out] IEnumVARIANT **ppIGPMGPOs
);

Parameters

ppIGPMGPOs [out]

Pointer to an IEnumVARIANT interface of an enumerator object for the collection. IEnumVARIANT provides a number of methods that you can use to iterate through the collection. For more information about IEnumVARIANT, see the COM documentation in the Platform SDK.

Return value

Returns S_OK if successful. Returns a failure code if an error occurs.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMGPOCollection is defined as F0F0D5CF-70CA-4C39-9E29-B642F8726C01

See also

IGPMGPOCollection
IGPMGPO
IGPMDomain

 

 

Show: