Share via


GPDomain.DomainName Property

 

Gets the full DNS name of the current domain.

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 full DNS name of the domain.

Remarks

The full DNS name is also known as the fully-qualified domain name (FQDN); for example, example.microsoft.com.

See Also

GPDomain Class
Microsoft.GroupPolicy Namespace

Return to top