RegistryPolicy Constructor

 

Initializes a new instance of the RegistryPolicy class.

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

Overload List

Name Description
System_CAPS_pubmethod RegistryPolicy(DirectoryContext, Guid, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified DirectoryContext, the specified Group Policy object (GPO) ID (GUID), and a value that specifies whether to open the GPO in read-only mode.

System_CAPS_pubmethod RegistryPolicy(DirectoryContext, String, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified DirectoryContext, the display name of the Group Policy object (GPO), and a value that specifies whether to open the GPO in read-only mode.

System_CAPS_pubmethod RegistryPolicy(Domain, Guid, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified Domain, the specified Group Policy object (GPO) ID (GUID), and a value that specifies whether to open the GPO in read-only mode.

System_CAPS_pubmethod RegistryPolicy(Domain, String, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified Domain, the display name of the Group Policy object (GPO), and a value that specifies whether to open the GPO in read-only mode.

System_CAPS_pubmethod RegistryPolicy(DomainController, Guid, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified DomainController, the specified Group Policy object (GPO) ID (GUID), and a value that specifies whether to open the GPO in read-only mode.

System_CAPS_pubmethod RegistryPolicy(DomainController, String, Boolean)

Initializes a new instance of the RegistryPolicy class by using the specified DomainController, the display name of the Group Policy object (GPO), and a value that specifies whether to open the GPO in read-only mode.

See Also

RegistryPolicy Class
Microsoft.GroupPolicy Namespace

Return to top