Gpo.DomainName Property

 

Gets the domain name for the Group Policy object (GPO).

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

Syntax

public string DomainName { get; }
public:
property String^ DomainName {
    String^ get();
}
member DomainName : string with get
Public ReadOnly Property DomainName As String

Property Value

Type: System.String

Returns String. The domain name.

Remarks

This name is the full Domain Name System (DNS) name, for example, example.microsoft.com.

See Also

Gpo Class
Microsoft.GroupPolicy Namespace

Return to top