LdapSessionOptions.HostName Property

Definition

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.

Applies to