GPDomain Constructor

 

Initializes a new instance of the GPDomain class.

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

Overload List

Name Description
System_CAPS_pubmethod GPDomain()

Initializes a new instance of the GPDomain class that represents the domain of the current user.

System_CAPS_pubmethod GPDomain(String)

Initializes a new instance of the GPDomain class that represents the specified domain.

System_CAPS_pubmethod GPDomain(String, DCUsage)

Initializes a new instance of the GPDomain class that represents the specified domain. The domain controller is specified by one of the DCUsage enumeration values.

System_CAPS_pubmethod GPDomain(String, String)

Initializes a new instance of the GPDomain class that represents the specified domain. The specified domain controller is used to communicate with the domain.

See Also

GPDomain Class
Microsoft.GroupPolicy Namespace

Return to top