LdapSessionOptions.HostName Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The HostName property returns the name of the LDAP server associated with the connection.
public:
 property System::String ^ HostName { System::String ^ get(); void set(System::String ^ value); };
	public string HostName { get; set; }
	member this.HostName : string with get, set
	Public Property HostName As String
	Property Value
The name of the LDAP server associated with the connection.
Exceptions
The LdapConnection object is already disposed.