Share via


WHSInfoClass.GetDomainName Method

Returns the Internet domain name that is configured on the home server.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
Public Overridable Function GetDomainName As String Implements IWHSInfo2.GetDomainName
public virtual string IWHSInfo2.GetDomainName ()
public:
virtual String^ GetDomainName () = IWHSInfo2::GetDomainName

Return Value

An instance of String that contains the Internet domain name that is configured on the home server.

Remarks

Windows Home Server end-users can run the Domain Name Setup Wizard on the home server to obtain an Internet domain name and to configure the home server to use the Internet domain name.

If your application needs to get the Internet domain name that is configured on the home server, call the GetDomainName method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

WHSInfoClass Class
WHSInfoClass Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace