Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IGPMBackup Property Methods

The property methods of the IGPMBackup interface get the properties that are described in the following table. For a general discussion of property methods, see Interface Property Methods in the Active Directory Service Interfaces (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* pVal
      
      
);

     
    
Comment
Comment associated with the GPMBackup object.
Access type: Read-only
Scripting data type: String
// C++ method syntax
 
 HRESULT get_Comment(
   [out] BSTR* pVal
      
      
);

     
    
GPODisplayName
Friendly display name of the backed-up Group Policy object (GPO). More than one GPO can have the same friendly name. GPOs are identified in the directory service by the ID (GUID), not by the friendly name.
Access type: Read-only
Scripting data type: String
// C++ method syntax
 
 HRESULT get_GPODisplayName(
   [out] BSTR* pVal
      
      
);

     
    
GPODomain
Name of the domain in which the GPO existed when it was backed up. This is a full Domain Name System (DNS) name, such as example.microsoft.com.
Access type: Read-only
Scripting data type: String
// C++ method syntax
 
 HRESULT get_GPODomain(
   [out] BSTR* pVal
      
      
);

     
    
GPOID
ID of the backed-up GPO.
Access type: Read-only
Scripting data type: String
// C++ method syntax
 
 HRESULT get_GPOID(
   [out] BSTR* pVal
      
      
);

     
    
ID
GUID that uniquely identifies the GPMBackup object within its backup directory.
Access type: Read-only
Scripting data type: String
// C++ method syntax
 
 HRESULT get_ID(
   [out] BSTR* pVal
      
      
);

     
    
Timestamp
Date and time when the GPMBackup object was created, in local time.
Access type: Read-only
Scripting data type: Date
// C++ method syntax
 
 HRESULT get_Timestamp(
   [out] DATE* pVal
      
      
);

     
    

 

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_IGPMBackup is defined as D8A16A35-3B0D-416B-8D02-4DF6F95A7119

See also

IGPMBackup
IGPMBackupCollection
IGPMBackupDir

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.