Share via


ComputerInfo.ComputerDomain Property

If computer is joined to a domain, returns the domain name computer is joined to; otherwise return null.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ComputerDomain As String
public static string ComputerDomain { get; }
public:
static property String^ ComputerDomain {
    String^ get ();
}
static member ComputerDomain : string with get
static function get ComputerDomain () : String

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

ComputerInfo Class

Microsoft.TeamFoundation.Common Namespace