Bearbeiten

Freigeben über


PrincipalContext.Name Property

Definition

Gets the value specified as the name parameter in the constructor.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The name of the domain or server for Domain contexts types, the host name for Machine context types, the name of the server hosting the ApplicationDirectory instance, or null if no name is set.

Applies to