IGPMStarterGPO Property Methods

The property methods of the IGPMStarterGPO interface get and set the properties described in the following table. For a general discussion of property methods, see Interface Property Methods in the ADSI documentation.

Properties

Author

Name of the person who created the Starter GPO.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Author(
  [out] BSTR* pVal
);

ComputerVersion

Version number of the computer configuration portion of the Starter GPO.

Access type: Read-only

// C++ method syntax
HRESULT get_ComputerVersion(
  [out] USHORT* pVal
);

CreationTime

Time when the Starter GPO was created. This property is given in the system's local time zone.

Access type: Read-only

Scripting data type: Date

// C++ method syntax
HRESULT get_CreationTime(
  [out] DATE* pVal
);

Description

GPO comment or description.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT put_Description(
  [in] BSTR newVal
);
HRESULT get_Description(
  [out] BSTR* pVal
);

DisplayName

Friendly display name of the Starter GPO. Starter GPOs are identified in the Directory Service by ID (GUID), not by friendly name.

Access type: Read/write

Scripting data type: String

// C++ method syntax
HRESULT put_DisplayName(
  [in] BSTR newVal
);
HRESULT get_DisplayName(
  [out] BSTR* pVal
);

ID

ID of the Starter GPO.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_ID(
  [out] BSTR* pVal
);

ModifiedTime

Time when the Starter GPO was last modified. This property is given in the system's local time zone.

Access type: Read-only

Scripting data type: Date

// C++ method syntax
HRESULT get_ModificationTime(
  [out] DATE* pVal
);

Product

Name of the product this Starter GPO is designed to manage. For example, a Starter GPO might be created to configure MS Office. This property is applicable to system Starter GPOs. For custom Starter GPOs this property will be blank. This property is read-only.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Product(
  [out] BSTR* pVal
);

StarterGPOVersion

Version number of the Starter GPO.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_StarterGPOVersion(
  [out] BSTR* pVal
);

Type

Specifies the type of Starter GPO.

Access type: Read-only

// C++ method syntax
HRESULT get_Type(
  [out] GPMStarterGPOType* pVal
);

UserVersion

Version number of the user configuration portion of the Starter GPO.

Access type: Read-only

// C++ method syntax
HRESULT get_UserVersion(
  [out] USHORT* pVal
);

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Gpmgmt.h
IDL
Gpmgmt.idl
DLL
Gpmgmt.dll
IID
IID_IGPMStarterGPO is defined as DFC3F61B-8880-4490-9337-D29C7BA8C2F0

See also

IGPMStarterGPO

IGPMStarterGPOCollection