Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DsmlSoapConnection Class
Collapse the table of content
Expand the table of content

DsmlSoapConnection Class

The DsmlSoapConnection class is an abstract class that cannot be instantiated. It enables stateless and stateful protocols to be handled similarly by providing session-oriented features.

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

Public MustInherit Class DsmlSoapConnection _
	Inherits DirectoryConnection

The DsmlSoapConnection type exposes the following members.

Protected methodDsmlSoapConnectionThe DsmlSoapConnection constructor initializes a new instance of a DsmlSoapConnection class.

Public propertyClientCertificatesThe ClientCertificates property specifies one or more client certificates to send for authentication. (Inherited from DirectoryConnection.)
Public propertyCredentialThe Credential property specifies alternate credentials for the connection object. (Inherited from DirectoryConnection.)
Public propertyDirectoryThe Directory property specifies the domain or the server to which the connection should be made. (Inherited from DirectoryConnection.)
Public propertySessionIdThe SessionId property contains the active session ID.
Public propertySoapRequestHeaderThe SoapRequestHeader property contains the SOAP Header attached to outgoing requests.
Public propertyTimeoutThe Timeout property contains the length of time, in seconds, before the connection times out. (Inherited from DirectoryConnection.)

Public methodBeginSessionThe BeginSession method instructs the DSML server to start a new session.
Public methodEndSessionThe EndSession method ends the session with the DSML server and clears the SessionId property.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSendRequestThe SendRequest method sends a single directory operation to the server. (Inherited from DirectoryConnection.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4

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