GpoBackup Class

 

Represents a backed-up Group Policy object (GPO) on the file system.

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

Inheritance Hierarchy

System.Object
  Microsoft.GroupPolicy.GpoBackup

Syntax

public sealed class GpoBackup : IEquatable<GpoBackup>
public ref class GpoBackup sealed : IEquatable<GpoBackup^>
[<Sealed>]
type GpoBackup = 
    class
        interface IEquatable<GpoBackup>
    end
Public NotInheritable Class GpoBackup
    Implements IEquatable(Of GpoBackup)

Properties

Name Description
System_CAPS_pubproperty BackupDirectory

Gets the directory in which the GPO backup exists.

System_CAPS_pubproperty Comment

Gets the comment associated with the GPO backup.

System_CAPS_pubproperty CreationTime

Gets the date and time when the Group Policy object (GPO) backup was created.

System_CAPS_pubproperty DisplayName

Gets the display name of the backed-up Group Policy object (GPO).

System_CAPS_pubproperty DomainName

Gets the name of the domain in which the GPO existed when it was backed up.

System_CAPS_pubproperty GpoId

Gets the ID of the backed-up Group Policy object (GPO).

System_CAPS_pubproperty Id

Gets the GUID that uniquely identifies the Group Policy object (GPO) backup within its backup directory.

Methods

Name Description
System_CAPS_pubmethod Delete()

Removes the Group Policy object (GPO) backup from the file system.

System_CAPS_pubmethod Equals(GpoBackup)

Determines whether the specified Group Policy object (GPO) backup is equal to this GPO backup.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GenerateReport(ReportType)

Generates a report for the Group Policy object (GPO) backup in the specified format.

System_CAPS_pubmethod GenerateReport(ReportType, GPStatusMessageCollection)

Generates a report for the Group Policy object (GPO) backup in the specified format and returns status.

System_CAPS_pubmethod GenerateReportToFile(ReportType, String)

Generates a report for the GPO and saves it to the specified file.

System_CAPS_pubmethod GenerateReportToFile(ReportType, String, GPStatusMessageCollection)

Generates a report for the GPO and saves it to the specified file and returns status.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The file system object is also known as a GPO backup.

Thread Safety

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

See Also

Microsoft.GroupPolicy Namespace

Return to top