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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.