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 | |
---|---|---|
BackupDirectory | Gets the directory in which the GPO backup exists. |
|
Comment | Gets the comment associated with the GPO backup. |
|
CreationTime | Gets the date and time when the Group Policy object (GPO) backup was created. |
|
DisplayName | Gets the display name of the backed-up Group Policy object (GPO). |
|
DomainName | Gets the name of the domain in which the GPO existed when it was backed up. |
|
GpoId | Gets the ID of the backed-up Group Policy object (GPO). |
|
Id | Gets the GUID that uniquely identifies the Group Policy object (GPO) backup within its backup directory. |
Methods
Name | Description | |
---|---|---|
Delete() | Removes the Group Policy object (GPO) backup from the file system. |
|
Equals(GpoBackup) | Determines whether the specified Group Policy object (GPO) backup is equal to this GPO backup. |
|
Equals(Object) | (Inherited from Object.) |
|
GenerateReport(ReportType) | Generates a report for the Group Policy object (GPO) backup in the specified format. |
|
GenerateReport(ReportType, GPStatusMessageCollection) | Generates a report for the Group Policy object (GPO) backup in the specified format and returns status. |
|
GenerateReportToFile(ReportType, String) | Generates a report for the GPO and saves it to the specified file. |
|
GenerateReportToFile(ReportType, String, GPStatusMessageCollection) | Generates a report for the GPO and saves it to the specified file and returns status. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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