DirectoryConnection Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The DirectoryConnection class is an abstract class and cannot be instantiated. Use the LdapConnection or DsmlSoapHttpConnection classes to connect to a directory server.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)


public abstract class DirectoryConnection

NameDescription
System_CAPS_protmethodDirectoryConnection()

The DirectoryConnection constructor initializes a new instance of a DirectoryConnection class.

NameDescription
System_CAPS_pubpropertyClientCertificates

The ClientCertificates property specifies one or more client certificates to send for authentication.

System_CAPS_pubpropertyCredential

The Credential property specifies alternate credentials for the connection object.

System_CAPS_pubpropertyDirectory

The Directory property specifies the domain or the server to which the connection should be made.

System_CAPS_pubpropertyTimeout

The Timeout property contains the length of time, in seconds, before the connection times out.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSendRequest(DirectoryRequest)

The SendRequest method sends a single directory operation to the server.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: