IGPMStarterGPOBackup Property Methods

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

Properties

BackupDir

The directory in which the GPMBackup object exists.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_BackupDir(
  [out] BSTR* pbstrBackupDir
);

Comment

Comment associated with the GPMBackup object.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Comment(
  [out] BSTR* pbstrComment
);

DisplayName

Friendly display name of the backed-up Starter GPO.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_DisplayName(
  [out] BSTR* pbstrDisplayName
);

Domain

Name of the domain in which the GPO existed when it was backed up. This is a full DNS name, such as, example.microsoft.com.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Domain(
  [out] BSTR* pbstrTemplateDomain
);

ID

GUID that uniquely identifies the GPMStarterGPOBackup object within its backup directory.

Access type: Read-only

Scripting data type: String

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

StarterGPOID

ID of the backed-up Starter GPO.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_StarterGPOID(
  [out] BSTR* pbstrTemplateID
);

Timestamp

Date and time when the GPMStarterGPOBackup object was created, in local time.

Access type: Read-only

Scripting data type: Date

// C++ method syntax
HRESULT get_Timestamp(
  [out] DATE* pTimestamp
);

Type

Type of backed-up GPMStarterGPO object. The type of backed-up GPMStarterGPO is a system or custom Starter Group Policy object.

Access type: Read-only

Scripting data type: Date

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

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Gpmgmt.h
IDL
Gpmgmt.idl
DLL
Gpmgmt.dll
IID
IID_IGPMStarterGPOBackup is defined as 51D98EDA-A87E-43dd-B80A-0B66EF1938D6

See also

IGPMStarterGPOBackup

IGPMBackupDirEx

IGPMStarterGPOBackupCollection