IGPMDomain::CreateGPO method

Creates and retrieves a GPMGPO object with a default display name. Typically, the caller sets the display name immediately after calling this method.

Syntax

HRESULT CreateGPO(
  IGPMGPO **ppNewGPO
);

Parameters

ppNewGPO

Return Value

C++

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

JScript

Returns a reference to a GPMGPO object.

VB

Returns a reference to a GPMGPO object.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See Also

IGPMDomain

IGPMGPO