RegistryPreference Constructor

 

Initializes a new instance of the RegistryPreference class

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

Overload List

Name Description
System_CAPS_pubmethod RegistryPreference(DirectoryContext, Guid, Boolean, Boolean)

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

System_CAPS_pubmethod RegistryPreference(DirectoryContext, String, Boolean, Boolean)

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

System_CAPS_pubmethod RegistryPreference(Domain, Guid, Boolean, Boolean)

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

System_CAPS_pubmethod RegistryPreference(Domain, String, Boolean, Boolean)

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

System_CAPS_pubmethod RegistryPreference(DomainController, Guid, Boolean, Boolean)

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

System_CAPS_pubmethod RegistryPreference(DomainController, String, Boolean, Boolean)

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

See Also

RegistryPreference Class
Microsoft.GroupPolicy Namespace

Return to top