BackupDirectory Class

 

Contains methods and properties that can be used to query Group Policy object (GPO) backups or Starter GPO backups from a directory.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

System.Object
  Microsoft.GroupPolicy.BackupDirectory

public class BackupDirectory

NameDescription
System_CAPS_pubmethodBackupDirectory(String, BackupType)

Initializes a new instance of the BackupDirectory class.

NameDescription
System_CAPS_pubpropertyBackupType

Gets the type of backups that can be retrieved.

System_CAPS_pubpropertyDirectory

Gets the full path of the file system directory from which backups can be retrieved.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetGpoBackup(Guid)

Retrieves the Group Policy object (GPO) backup that has the specified backup ID (GUID).

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetStarterGpoBackup(Guid)

Retrieves the Starter Group Policy object (GPO) backup with the specified backup ID (GUID).

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSearchGpoBackups(GPSearchCriteria)

Searches the directory for Group Policy object (GPO) backups.

System_CAPS_pubmethodSearchStarterGpoBackups(GPSearchCriteria)

Searches the directory for Starter Group Policy object (GPO) backups.

System_CAPS_pubmethodToString()

(Inherited from Object.)

When you create a BackupDirectory object, you specify the path to the directory that contains the backups, and whether the BackupDirectory object can be used for GPOs or for Starter GPOs.

This class wraps the IGPMBackupDir COM interface.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: