System.DirectoryServices.Protocols
The class adds an entry to the directory.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified distinguished name and attributes.
The of the new object in the directory.
An array, of objects, that contains the attributes for this object. This parameter may be null.
The constructor creates an instance of the class using the specified and the object class.
The of the new object in the directory.
The object class for this object. If this parameter is null, an exception is thrown.
The parameter contains a null reference (Nothing in Visual Basic).
The property contains a of attribute-value pairs for the object.
A of attribute-value pairs for the object.
The property contains the distinguished name of the object.
The distinguished name of the object.
The method creates an XML node from the specified object.
The resulting object.
A object.
The class is returned by as a response to .
The class creates an attribute scoped query (ASQ) control. This control is used with a search request to force the query to be based on a specific DN-valued attribute.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified attribute name.
The attribute name on which the query is based.
The property gets or sets the attribute name on which the search query is based.
The attribute name on which the search query is based.
The method returns the binary representation of the .
The binary representation of the .
The class is returned in a object as a response to a query.
The property gets a object with result data.
A object with result data.
The enumeration is used to specify the authentication method to use on a connection.
Indicates that the connection should be made without passing credentials. The value is equal to 0.
Indicates that basic authentication should be used on the connection. The value is equal to 1.
Indicates that Microsoft Negotiate authentication should be used on the connection. The value is equal to 2.
Indicates that Windows NT Challenge/Response (NTLM) authentication should be used on the connection. The value is equal to 3.
Indicates that the Digest Access Authentication should be used on the connection. The value is equal to 4.
Indicates a negotiation mechanism (Sicily) will be used to choose MSN, DPA or NTLM. This should be used for LDAPv2 servers only. The value is equal to 5.
Indicates that Distributed Password Authentication (DPA) should be used on the connection. The value is equal to 6.
Indicates that it is authenticated by “Microsoft Network Authentication Service”. The value is equal to 7.
Indicates an external method will be used to authenticate the connection. The value is equal to 8.
Indicates that Kerberos authentication should be used on the connection. The value is equal to 9.
The class is an exception thrown when converting data using a object.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified serialization data and streaming contextual data.
The serialized object data about the exception thrown.
The contextual data about the source or destination.
The constructor creates an instance of the class using the specified message.
The message displayed to the client when the exception is thrown.
The constructor creates an instance of the class using the specified message and inner exception.
The message displayed when the exception is thrown.
The , if any, that threw the exception.
The class encodes and decodes structured data using basic encoding rules (BER).
The method decodes a binary representation of the data, using BER, to retrieve structured data.
The decoded data.
The format string.
An array of BER data.
The parameter contains a null reference (Nothing in Visual Basic).
The parameter contains an undefined character.
The underlying decoding fails. The decoding rules include the following.
Code
Corresponding Result
'{' '}' '[' ']' 'n' 'x'
No corresponding result
'i' 'e'
int
'b'
bool
'a'
string
'O'
byte[]
'B'
byte[] containing bit strings
'v'
string[]
'V'
byte[][]
The method encodes structured data, using BER, to retrieve a binary representation of the data.
An array of BER-encoded data.
The format string.
An array of formatted data.
The class determines whether the directory object holds the specified value for the attribute.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified distinguished name and attributes.
The distinguished name of the object to compare.
A object.
contains a null reference (Nothing in Visual Basic).
must contain exactly one value.
The constructor creates an instance of using the specified distinguished name, attribute, and attribute value.
The distinguished name of the object to compare.
The name of the attribute to compare.
The value to compare.
or contains a null reference (Nothing in Visual Basic).
The constructor creates an instance of the class using the specified distinguished name, attribute, and attribute value.
The distinguished name of the object to compare.
The name of the attribute to compare.
The value to compare.
or contains a null reference (Nothing in Visual Basic).
The constructor creates an instance of the class using the specified distinguished name, attribute, and attribute value.
The distinguished name of the object to compare.
The name of the attribute to compare.
The value to compare.
or contains a null reference (Nothing in Visual Basic).
The property gets the attribute/value pair used to compare.
The attribute/value pair used to compare.
The property gets or sets the distinguished name of the object to compare.
The distinguished name of the object to compare.
The method creates an XML node from the specified object.
The resulting object.
A object.
The object must contain exactly one value.
The class is returned by as a response to .
The class is used with a object to move an LDAP object from one domain to another.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified target domain.
The DNS name of the destination domain controller.
The method returns the binary representation of .
The binary representation of .
The property gets or sets the DNS name of the destination domain controller (DC).
The DNS name of the destination DC.
The class deletes an entry from the directory.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified distinguished name.
The distinguished name of the object to delete.
The property gets or sets the distinguished name of object to delete.
The distinguished name of object to delete.
The method creates an XML node from the specified object.
The resulting object.
An object.
The class is returned by as a response to .
The enumeration specifies the process by which aliases are dereferenced.
Does not dereference aliases. The value is equal to 0.
Dereferences aliases when searching subordinates of the base object, but not when locating the base itself. The value is equal to 1.
Dereferences aliases when locating the base object, but not when searching its subordinates. The value is equal to 2.
Dereferences aliases when both searching subordinates and locating the base object of the search. The value is equal to 3.
The delegate dereferences a connection that is no longer required. The connection was probably established through a successful call to the or delegate.
An object that specifies the primary connection.
An object that specifies the connection to dereference.
The class enables access to the attribute values.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified attribute name and value.
The attribute name.
The attribute value.
or contains a null reference (Nothing in Visual Basic).
The constructor creates an instance of the class using the specified attribute name and values.
The attribute name.
An array of values for the attribute.
or contains a null reference ( in Visual Basic).
An element of is not of type string, byte[], or Uri.
The constructor creates an instance of the class using the specified attribute name and value.
The attribute name.
The attribute value.
or contains a null reference (Nothing in Visual Basic).
The constructor creates an instance of the class using the specified attribute name and value.
The attribute name.
The attribute value.
or contains a null reference (Nothing in Visual Basic).
The method adds the specified value to this attribute.
The index at which the value has been added.
The value to add.
contains a null reference (Nothing in Visual Basic).
The method adds the specified value to this attribute.
The index at which the value has been added.
The value to add.
contains a null reference (Nothing in Visual Basic).
The method adds the specified value to this attribute.
The index at which the value has been added.
The value to add.
contains a null reference (Nothing in Visual Basic).
The method adds an array of values to the attribute.
The values to add.
is not a byte[][], string[], or Uri[].
contains a null reference (Nothing in Visual Basic).
The method determines if the attribute contains the specified value.
true if this attribute contains the value or false if it does not.
The value for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where the copying begins.
contains a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to, or greater than, the length of
The number of elements in the source is greater than the space available from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The method returns all values of the specified type.
An array of objects that contain the values.
A object that specifies the type of values to return.
A value cannot be converted to .
must be either string or byte.
The method returns the zero-based index of the first occurrence of the specified in the collection.
The index value of the specified , if found; otherwise, -1.
The for which the value is returned.
The method inserts the specified into the collection at the specified .
The index in the collection at which to insert the .
The value to insert.
contains a null reference (Nothing in Visual Basic).
is less than zero, or index is greater than the number of elements in the object.
The method inserts the specified into the collection at the specified .
The index in the collection at which to insert the .
The value to insert.
contains a null reference (Nothing in Visual Basic).
is less than zero, or is greater than the number of elements in the object.
The method inserts the specified into the collection at the specified .
The index in the collection at which to insert the .
The value to insert.
contains a null reference (Nothing in Visual Basic).
is less than zero or is greater than the number of elements in the object.
The property gets or sets the object at the specified index.
The object at the specified index.
The zero-based index value at which the object is found.
to set is an invalid type. The valid types are byte[], string, or URI.
contains a null reference (Nothing in Visual Basic).
The property contains the attribute name.
The attribute name.
contains a null reference (Nothing in Visual Basic).
The method verifies that is a object.
The to evaluate.
contains a null reference (Nothing in Visual Basic).
must be either a string, byte[], or URI.
The method removes the first occurrence of the specified from the list of attributes.
The to remove.
contains a null reference (Nothing in Visual Basic).
The class contains a collection of objects.
The constructor creates an instance of the class.
The method adds a object to the collection.
The zero-based index in the collection where the was added.
The object to add.
is a null reference (Nothing in Visual Basic).
The method adds an array of objects to the collection.
An array of to add to the collection.
is a null reference (Nothing in Visual Basic).
A member of is a null reference (Nothing in Visual Basic) or a member of specifies a modification operation other than Add.
The method adds a object to the current collection.
The object to add to this collection.
is a null reference (Nothing in Visual Basic).
The method determines whether this object contains a specified object.
true if the specified is part of the collection; false otherwise.
The object for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
The method returns the zero-based index of the first occurrence of the specified object in the .
The index value of the specified object, if found; otherwise, -1.
The object for which the index is returned.
The method inserts the specified object into the at the specified .
The zero-based index point, in the collection, at which to insert the object.
The object to be inserted into the collection.
is a null reference (Nothing in Visual Basic) or specifies a modification operation other than Add.
is less than zero, or is greater than the number of elements in the object.
The property contains the object at the specified index.
The object at the specified index.
The index value of the object.
The method verifies that is a object or specifies an add operation.
The object to evaluate.
This exception can occur under one of the following conditions:
is a null reference (Nothing in Visual Basic).
is not a object.
The method removes the first occurrence of the specified object from the collection.
The object to remove.
The class enables modification of the values.
The constructor creates an instance of the class.
The property specifies one of modifications to perform.
The modification to perform.
The class contains a collection of objects.
The constructor creates an instance of the class.
The method adds a object to the collection.
The zero-based index in the collection where the was added.
The to add.
is a null reference (Nothing in Visual Basic).
The method adds an array of objects to the collection.
An array of objects to add to the collection.
is a null reference (Nothing in Visual Basic).
One of the members of is a null reference (Nothing in Visual Basic).
The method adds a object to the current collection.
The collection to add to this collection.
is a null reference (Nothing in Visual Basic).
The method determines whether this object contains a specified object.
true if the specified is part of the collection; false otherwise.
The object for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
The method returns the zero-based index of the first occurrence of the specified object in the .
The index value of the specified object, if found; otherwise, -1.
The object for which the index is returned.
The method inserts a object into the collection at the specified index.
The zero-based index in the collection at which to insert the object.
The object to insert.
is a null reference (Nothing in Visual Basic).
is less than zero, or is greater than the number of elements in the object.
The property contains the object at the specified .
The object at the specified .
The index value of the object.
The method verifies that is a object.
The object to evaluate.
The method removes the first occurrence of the specified object from the collection.
The object to remove.
The enumeration specifies the operation to perform on a directory attribute.
Add an attribute value. The value is equal to 0.
Delete an attribute value. The value is equal to 1.
Replace an attribute value. The value is equal to 2.
The class is an abstract class and cannot be instantiated. Use the or classes to connect to a directory server.
The constructor initializes a new instance of a class.
The property specifies one or more client certificates to send for authentication.
One or more client certificates to send for authentication.
The property specifies alternate credentials for the connection object.
Alternate credentials for the connection object.
The property specifies the domain or the server to which the connection should be made.
The domain or the server to which the connection should be made.
The method sends a single directory operation to the server.
A object that contains the server response to the request operation. The returned response object may be different than the requested object if the server returns a different response.
A object that contains the request.
The property contains the length of time, in seconds, before the connection times out.
The length of time, in seconds, before the connection times out.
The class specifies extension data for various LDAP operations.
The constructor creates an instance of the class using the specified values for the type, value, criticality, and ServerSide properties.
The control type.
The value associated with the control.
Specifies if the control is critical. The default is true.
Specifies if this is a server-side control. The default is true. false specifies a client-side control.
parameter is null.
The method returns the data associated with the control.
The data associated with the control.
The property specifies whether the control is critical.
true if the control is critical; otherwise, false.
The property specifies whether this is a server-side control.
true if the control is a server-side control. false specifies a client-side control.
The property contains the object identifier (OID) of the control.
The OID of the control.
The class manages a collection of objects.
The constructor creates an instance of the class.
The method adds a new object to the collection.
The index of the at which the object has been added.
The object to add.
is a null reference (Nothing in Visual Basic).
The method adds an array of objects to the collection.
An array of objects to add to the collection.
is a null reference (Nothing in Visual Basic).
A member of the array is a null reference (Nothing in Visual Basic).
The method adds a object to the current collection.
The object to add to this collection.
is a null reference (Nothing in Visual Basic).
The method determines whether this object contains a specified object.
true if the specified object is part of the collection; false, otherwise.
The object for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to or greater than the length of
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The method returns the zero-based index of the first occurrence of the specified object in the .
The index value of the specified object, if found; otherwise, -1.
The object for which the index is returned.
The method inserts the specified object into the at the specified index.
The index in the collection at which to insert the object.
The object to be inserted into the collection.
is a null reference (Nothing in Visual Basic).
is less than zero, or is greater than the number of elements in the object.
is read-only, or has a fixed size.
The property contains the object at the specified index.
Contains the object at the specified index.
The index value of the object.
There was an attempt to set the property to null.
The method verifies that is a object.
The object to evaluate.
is a null reference (Nothing in Visual Basic).
is not a object.
The method removes the first occurrence of the specified object from the collection.
The object to remove.
is read-only, or has a fixed size.
The class is an abstract class used as the base class for all exceptions.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified serialization information and streaming contextual information.
The serialized object data about the exception being thrown.
The contextual information about the source or destination.
The constructor creates an instance of the class using the specified parameter.
The message displayed to the client when the exception is thrown.
The constructor creates an instance of the class using the specified parameters.
The message displayed to the client when the exception is thrown.
The , if any, that threw the exception.
The class is an abstract class that identifies the target to connect to.
The constructor creates an instance of the class.
The class is a directory control used with an extended LDAP asynchronous search function to register the client to be notified when changes are made to an object in the Active Directory Domain Services.
The constructor creates an instance of the class.
The class is an abstract class used as a base for request and response elements.
The constructor creates an instance of the object.
The class is an exception thrown by the method to indicate that the server returned a object with an error.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified response object.
The object returned by the server.
The constructor creates an instance of the object using the specified response object and message.
The object returned by the server.
The message displayed to the client when the exception is thrown.
The constructor creates an instance of the class using the specified response object, message, and inner exception.
The object returned by the server.
The message displayed to the client when the exception is thrown.
The , if any, that threw the exception.
The constructor creates an instance of the class using the specified serialization information and streaming context.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The constructor creates an instance of the class using the specified message.
The message displayed to the client when the exception is thrown.
The constructor creates an instance of the class using the specified message and inner exception.
The message displayed to the client when the exception is thrown.
The , if any, that threw the exception.
The method populates the object with the data required to serialize the parameter.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The property specifies the object returned by the server that contains an error.
The object returned by the server that contains an error.
The class is the base class for request related classes, like the and classes.
The property contains a object.
A object.
The property contains the specified in the request.
The specified in the request.
The method creates an XML node from the specified object.
The created .
The to represent as an XML element.
The class is the base class for request response classes, like the and classes.
The property contains an array of objects returned by the server.
An array of objects returned by the server.
The property contains the error message, if any, for this operation.
The error message, if any, for this operation.
The property contains the matched distinguished name returned by the server.
The matched distinguished name returned by the server.
The property contains the server referrals.
The server referrals.
The property contains the Request Identifier.
The Request Identifier.
User attempted to set the property value.
The property contains the result code of the operation.
The result code of the operation.
The enumeration specifies the behavior of the search in a object.
No options used. The value equals 0 or 0x0.
If this option is used, the caller requires no rights, but can only view objects and attributes that are accessible to the caller. If this option is not used, the caller must have the replicate changes right. The value equals 1 or 0x1.
Return parents before children, when parents would otherwise appear later in the replication stream. The value equals 2048 or 0x800.
Do not return private data in search results. The value equals 8192 or 0x2000.
If this option is used, only changed values are returned. If this option is not used, all values, up to a server-specified limit, in a multi-valued attribute, are returned when a value changes. The value equals 2147483648 or 0x80000000.
The class is a directory control that enables the application to search the directory for objects that have changed since a previous state.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified parameter.
An opaque structure used by the server. It is updated by the directory during each , which enables the control to incrementally read changes from the directory.
The constructor creates an instance of the class using the specified parameters.
An opaque structure used by the server. It is updated by the directory during each , which enables the control to incrementally read changes from the directory.
Specifies the behavior of the search. This parameter can be zero or a combination of one or more of the values of .
The constructor creates an instance of the class using the specified parameters.
An opaque structure used by the server. It is updated by the directory during each , which enables the control to incrementally read changes from the directory.
Specifies the behavior of the search. This parameter can be zero or a combination of one or more of the values of .
The maximum number of attributes to return. The default is 1048576.
The property specifies the maximum number of attributes to return.
The maximum number of attributes to return.
There was an attempt to set a value less than zero.
The property contains an opaque structure used by the server.
An opaque structure used by the server.
The method returns the data associated with this control.
The data associated with this control.
The property specifies the behavior of the search.
The behavior of the search.
The class is a directory control used to pass DirSyncRequest information from the server to the client.
The property contains an opaque structure returned by the directory.
An opaque structure returned by the directory.
The property specifies whether there is more data to return.
true if there is more data; false, otherwise.
The property specifies the size of the result.
The size of the result.
The class is a directory control used to instruct the LDAP server not to generate referrals when completing a request.
The constructor creates an instance of the class.
The class indicates that access control for the requests be interpreted as though the requests are performed by the security principal identified by the property.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified parameter.
The security principal.
The property contains the security principal.
The security principal.
The method transforms an object into its DSML v2 XML representation.
The transformed object.
An object.
The class is returned by as a response to .
The class identifies an HTTP server.
The constructor creates an instance of the class using the specified parameter.
A server represented as a object.
is a null reference (Nothing in Visual Basic).
scheme is not http or https.
The property contains the of the server this object identifies.
The of the server this object identifies.
The class is an abstract class to construct or manipulate a DSML document. It is the base class for both and . supports collections and indexes. Each item in its collection is an object derived from .
The constructor creates an instance of the class.
The method transforms this object into a object.
The transformed object.
The enumeration specifies the processing method for a DSML document.
Sequential. Value is equal to 0.
Parallel. Value is equal to 1.
The enumeration specifies how to proceed when an error occurs.
Resume. Value is equal to 0.
Exit. Value is equal to 1.
The class is generated by the server when a severe error occurs.
The property is not applicable to a DSML <errorResponse>.
Not applicable to a DSML <errorResponse>.
This property is not valid for a DSML error response.
The property contains the contents of the <detail> element of the errorResponse, if any.
The contents of the <detail> element of the errorResponse, if any.
The property is not applicable to a DSML <errorResponse>.
not applicable to a DSML <errorResponse>.
This property is not valid for a DSML error response.
The property is not applicable to a DSML <errorResponse>.
Not applicable to a DSML <errorResponse>.
This property is not valid for a DSML error response.
The property contains the text returned in the <message> element of the errorResponse, if any.
The text returned in the <message> element of the errorResponse, if any.
The property is not applicable to a DSML <errorResponse>.
Not applicable to a DSML <errorResponse>.
This property is not valid for a DSML error response.
The property is not applicable to a DSML <errorResponse>.
Not applicable to a DSML <errorResponse>.
This property is not valid for a DSML error response.
The property contains a value of that specifies the type of the error response returned by the server.
A value of that specifies the type of the error response returned by the server.
The class is an exception that occurs when a DSML Request or Response document is not well-formed XML or cannot be validated with DSMLv2 schema.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified serialization data and streaming contextual data.
The serialized object data about the exception thrown.
The contextual data about the source or destination.
The constructor creates an instance of the class using the specified parameter.
The message displayed to the client when the exception is thrown.
The constructor creates an instance of the class using the specified parameters.
The message displayed to the client when the exception is thrown.
The , if any, that threw the exception.
The class enables you to build a DSML request payload, such as , , or . It contains zero or more derived objects. The user may add, delete, modify, and enumerate the before sending to the server. can be used with any DSML Binding classes to transport the document, such as .
The constructor creates an instance of the class.
The method adds a object to the collection.
The index of the collection at which the object was added.
The object to add to the collection.
is a null reference (Nothing in Visual Basic).
The method removes all items from this collection.
The method determines whether this collection contains the specified object.
true if the specified object is part of the collection; false, otherwise.
The object for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
The property contains the number of objects in this collection.
The number of objects in this collection.
The property contains one of the values of that specifies how the elements of the collection are processed.
One of the values of that specifies how the elements of the collection are processed.
is an invalid enumeration value.
The property contains one of the values of that specifies how errors are processed.
One of the values of that specifies how errors are processed.
is an invalid enumeration value.
The method returns an enumerator for the entire collection.
A object for the entire collection.
The method returns the zero-based index of the first occurrence of the specified object in the collection.
The index value of the specified object, if found; otherwise, -1.
The object for which the index is returned.
is null reference (Nothing in Visual Basic).
The method inserts the specified object into the collection at the specified index.
The index in the collection at which to insert the object.
The object to be inserted into the collection.
is a null reference (Nothing in Visual Basic).
The property contains a value that indicates whether the has a fixed size.
true if the has a fixed size; otherwise, false.
The property contains a value indicating whether the is read only or not.
true if the is read only; otherwise, false.
The property contains a value that indicates whether access to the is synchronized (thread-safe).
true if access to the is synchronized (thread-safe); otherwise, false.
The property contains the object at the specified index.
The object at the specified index.
The zero-based index value at which the object is found.
is set to a null reference (Nothing in Visual Basic).
The method removes the first occurrence of the specified object from the collection.
The object to remove.
is a null reference (Nothing in Visual Basic).
The method removes the object at the specified position.
The zero-based index of the object to remove.
The property contains the associated with the .
The associated with the .
The property contains one of the values of that specifies the order of the response.
One of the values of that specifies the order of the response.
is an invalid enumeration value.
The property contains an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
The property gets the number of objects in this collection.
The number of objects.
The property gets a value that indicates whether access to the is synchronized (thread-safe).
true if access to the is synchronized (thread-safe); otherwise, false.
The property gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to .
The method adds a object to the collection.
The index of the collection at which the object was added.
The object to add to the collection.
is a null reference (Nothing in Visual Basic).
is not a object.
The method removes all items from the collection.
The method determines whether this collection contains the specified object.
true if the specified object is part of the collection; false, otherwise.
The object for which to search.
The method returns the zero-based index of the first occurrence of the specified object in the collection.
The index value of the specified object, if found; otherwise, -1.
The object for which the index is returned.
is null reference (Nothing in Visual Basic).
The method inserts the specified object into the collection at the specified index.
The index in the collection at which to insert the object.
The object to be inserted into the collection.
is a null reference (Nothing in Visual Basic).
is not a object.
The property gets a value that indicates whether the has a fixed size.
true if the has a fixed size; otherwise, false.
The property gets a value that indicates whether the is read-only or not.
true if the is read only; otherwise, false.
The property gets or sets the object at the specified index.
The object at the specified .
The zero-based index value at which the object is found.
is set to a null reference (Nothing in Visual Basic).
is not a object.
The method removes the first occurrence of the specified object from the collection.
The object to remove.
is a null reference (Nothing in Visual Basic).
The method removes the object at the specified position.
The zero-based index of the object to remove.
The method transforms each object in the collection into an object.
The transformed object.
The class is a read-only collection generated as a response to a object that contains zero, or more, objects derived from .
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
value is multidimensional
is equal to or greater than the length of value
The number of elements in the source is greater than the available space from i to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The property contains the number of objects in this collection.
The number of objects in this collection.
The method returns an enumerator for the entire collection.
An object for the entire collection.
The property specifies whether an error response has occurred.
This property is true if an error response has occurred; false, otherwise.
The property specifies whether an operation error response has occurred.
This property is true if an operation error has occurred; false, otherwise.
The property contains a value that indicates whether access to the is synchronized (thread-safe).
true if access to the is synchronized (thread-safe); otherwise, false.
The property contains the object at the specified index.
The object at the specified index.
The zero-based index value at which the object is found.
The property contains the RequestID associated with the document.
The RequestID associated with the document.
You attempted to set the property value.
The property contains an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
The property gets the number of objects in this collection.
The number of objects.
The property gets a value that indicates whether access to the is synchronized (thread-safe).
true if access to the is synchronized (thread-safe); otherwise, false.
The property gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to .
The method transforms each object in the collection into an object.
The transformed object.
The enumeration specifies the order in which responses are received.
Sequential. The value is equal to 0.
Unordered. The value is equal to 1.
The class is an abstract class that cannot be instantiated. It enables stateless and stateful protocols to be handled similarly by providing session-oriented features.
The constructor initializes a new instance of a class.
The method instructs the DSML server to start a new session.
Thrown when a session is already open on the connection.
Thrown when the XML returned from the Server in response to the BeginSession is not well-formed.
Thrown when there is a communications failure with the DSML server.
The method ends the session with the DSML server and clears the property.
Thrown when a communications failure occurs with the DSML server.
Thrown when there is no open session.
The property contains the active session ID.
The active session ID.
The property contains the SOAP Header attached to outgoing requests.
The SOAP Header attached to outgoing requests.
The class represents a connection to a DSML Gateway using SOAP over HTTP.
The constructor initializes a new instance of a class.
A object that specifies server for the connection.
is null (Nothing in Visual Basic).
The constructor initializes a new instance of a class.
A object that specifies server for the connection.
A object that contains the network credentials.
is null (Nothing in Visual Basic).
The constructor creates and initializes a new instance of a class using the specified identifier, network credentials, and authentication type.
A object that specifies the server for the connection.
A object that contains the Network Credentials.
The value that specifies the authentication type to use for this connection.
is a null reference (Nothing in Visual Basic).
value is not one of the DSML supported values. DSML only supports Anonymous, Ntlm, Basic, Negotiate and digest.
value is not one of the constants defined in the enumeration.
The constructor initializes a new instance of a class.
A object that specifies server for the connection.
is null (Nothing in Visual Basic).
The method cancels the asynchronous request.
An object derived from that references the asynchronous request.
is null (Nothing in Visual Basic).
was not returned by the corresponding call to .
The property contains one of the values of enumeration that specifies the authentication type.
One of the values of enumeration that specifies the authentication type.
The method begins asynchronously sending the specified object to the server.
An object derived from that references the asynchronous send.
The object to send.
The function.
An that contains the state data for this request.
is null (Nothing in Visual Basic).
The method instructs the DSML server to start a new session.
Thrown when a session is already open on the connection.
Thrown when the XML returned from the Server in response to the is not well-formed.
Thrown when there is a communications failure with the DSML server or when the server is out of available sessions.
The method completes an asynchronous send request.
A object that contains the results of the request.
An object derived from that contains state data for this request.
Thrown when is null.
Thrown if was not returned by the current instance from a call to .
The request did not complete. No stream is available.
Thrown when the response returned by server is not valid.
Thrown when abort was previously called or when an error occurred while processing the request.
The method ends the session with the DSML server and clears the property.
Thrown when there is a communications failure with the DSML server.
Thrown when there is no open session.
The method sends a single object.
A object that contains the results of the request.
A object that contains the request.
is null (Nothing in Visual Basic).
The DSML server returned an error response.
The operation returned a failure code.
The method sends a object to the DSML server.
A object that contains the results of the request.
A object sent to the server.
is null (Nothing in Visual Basic).
The property contains the active session ID.
The active session ID.
The property contains the SOAP Action Header sent with other HTTP headers.
The SOAP Action Header sent with other HTTP headers.
The property contains the length of time, in seconds, before the times out.
The length of time, in seconds, before the times out.
The enumeration contains possible DSML error responses.
The DSML provider did not attempt to execute a request element. The value is equal to 0.
The DSML provider was unable to connect to a server. The value is equal to 1.
The DSML provider connected to a server, but the server closed the connection without responding to the request. The value is equal to 2.
The client failed to specify a request ID for each request. The value is equal to 3.
There is an internal gateway error. The value is equal to 4.
Authentication failed. The value is equal to 5.
The client provider is unable to resolve the URI to a value that can transferred to the server. The value is equal to 6.
An unknown error occurred. The value is equal to 7.
The class is an exception that occurs when the server returns an <errorResponse>.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified response object. The default message displayed to the client is "<errorResponse> returned".
The object returned by the server that corresponds to the <errorResponse>.
The constructor creates an instance of the class using the specified response object and message.
The object returned by the server that corresponds to the <errorResponse>.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified response object, message, and inner exception.
The object returned by the server that corresponds to the <errorResponse>.
The message displayed to the client when the exception occurs.
The , if any, that threw the exception.
The constructor creates an instance of the class using the specified serialization data and streaming context.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The constructor creates an instance of the class using the specified message.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified message and inner exception.
The message displayed to the client when the exception occurs.
The , if any, that threw the exception.
The method populates the object with the data required to serialize the parameter.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The property contains the object that corresponds to the <errorResponse>.
The object that corresponds to the <errorResponse>.
The class requests an extended form of the distinguished name of an Active Directory Domain Services object.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified flag.
A value of the enumeration that specifies the format of the extended distinguished name.
The property contains one of the values of that specifies the format of the extended distinguished name.
One of the values of that specifies the format of the extended distinguished name.
The method returns the format of the extended distinguished name.
The format of the extended distinguished name.
The enumeration specifies the format of an extended distinguished name.
Specifies that the GUID and SID values are returned in hexadecimal format. The value is equal to 0.
Specifies that the GUID and SID values are returned in standard string format. The value is equal to 1.
The class passes extended LDAP operations to the server.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified name.
The name of the request.
The constructor creates an instance of the class using the specified name and value.
The name of the request.
The value of the request.
The property contains the request name.
The request name.
The property contains the value of the request.
The value of the request.
The method creates an XML node from the specified object.
The resulting object.
An object.
The class is returned by as a response to .
The property contains the name of the response returned by the server.
The name of the response returned by the server.
The property contains the optional response value returned by the server.
The optional response value returned by the server.
The server returned an invalid value.
The class instructs the server to return the results of a DS modification command, such as add, delete, or replace, after it has been completed in memory, but before it has been committed to disk.
The constructor creates an instance of the class.
The class creates a TCP/IP or UDP LDAP connection to Microsoft Active Directory Domain Services or an LDAP server.
The constructor creates an instance of the class using the specified directory identifier. The logon credentials and the Negotiate Authentication are used to connect to the LDAP server.
An object that specifies the server.
Thrown if it fails to create a connection block or fails to open a connection to server.
The constructor creates an instance of the class using the specified directory identifier and network credentials. Negotiate Authentication is used.
An object that specifies the server.
A object that specifies the credentials to use.
Thrown if it fails to create a connection block or fails to open a connection to server.
The constructor creates an instance of the class using the specified directory identifier, network credentials, and authentication type.
An object that specifies the server.
A object that specifies the credentials to use.
A values that specifies the type of authentication to use.
Thrown if it fails to create a connection block or fails to open a connection to server.
Thrown when is out of range.
Thrown when is specified as Anonymous but specified credentials.
The constructor creates an instance of the class using the specified server.
A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the right end of the string by a colon (:).
Thrown if it fails to create a connection block or fails to open a connection to server.
The method cancels the asynchronous request.
A object that references the asynchronous request.
The object handle is not valid.
is null (Nothing in Visual Basic).
Thrown if was not returned by the corresponding call to
The property contains the supported authentication types.
A supported authentication type.
Thrown when is out of range.
The property specifies whether an automatic bind is allowed.
true if the automatic bind is allowed; otherwise, false.
The method sends data asynchronously to the server.
A object that references the asynchronous send.
A object.
A value from enumeration that specifies the level of partial result to return.
The function.
An that contains the state data for this request.
The object handle is not valid.
is null (Nothing in Visual Basic).
Partial results are not supported.
A callback function must be specified if is equal to .
The method sends data asynchronously to the server.
A object that references the asynchronous send.
A object.
The time, in seconds, until the request times out.
A value from enumeration that specifies the level of partial result to return.
The function.
An that contains the state data for this request.
The object handle is not valid.
is null (Nothing in Visual Basic).
Partial results are not supported.
A callback function must be specified if is equal to .
The method sends an LDAP bind using the current credentials.
The object handle is not valid.
The error code returned by LDAP does not map to one of the enumeration error codes.
Either the property specifies more than one client certificate to send for authentication, or the property is Anonymous and one or more credentials are supplied.
The method sends an LDAP bind using the specified .
A object that specifies the credentials to use.
The object handle is not valid.
The error code returned by LDAP does not map to a enumeration error code.
Either the property specifies more than one client certificate to send for authentication, or the property is Anonymous and one or more credentials are supplied.
The property contains the network credentials for the object.
The network credentials for the object.
The method closes and releases the LDAP handle.
The method closes the connection and optionally releases the LDAP handle.
true if the handle is released when the connection is closed or false if the connection is closed without releasing the handle.
The method completes an asynchronous request.
A object that contains the results of the request.
An object that contains state data for this request.
Thrown if the object is already disposed. The object handle is not valid.
is null (Nothing in Visual Basic).
does not match the returned in the call.
The error code returned by LDAP does not map to a enumeration error code.
Thrown if the server returned a object with an error.
The method allows an object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.
The method retrieves partial results of an asynchronous operation.
A object that contains the partial results.
An object that contains state data for this request.
The object is already disposed. The object handle is not valid.
is null (Nothing in Visual Basic).
does not match the returned in the call.
The error code returned by LDAP does not map to a enumeration error code.
Thrown if the server returned a object with an error.
The method sends a single as an LDAP v3 operation.
A object that contains the response from the server.
A object that contains the request.
The object is already disposed. The object handle is not valid.
is null (Nothing in Visual Basic).
Request is of type DsmlAuthRequest.
The error code returned by LDAP does not map to a enumeration error code.
Thrown if the server returned a object with an error.
The method sends a single as an LDAP v3 operation.
A object that contains the response from the server.
A object that contains the request.
The length of time, in seconds, until the request times out.
The object is already disposed. The object handle is not valid.
is null (Nothing in Visual Basic).
Request is of type DsmlAuthRequest.
The error code returned by LDAP does not map to a the enumeration error code.
Thrown if the server returned a object with an error.
The property contains an object that specifies the session options.
An object that specifies the session options.
The property contains the length of time, in seconds, before the times out.
The length of time, in seconds, before the times out.
The class creates a directory identifier for one or more LDAP servers.
The constructor creates an instance of the class using the specified server.
Thrown if has space.
The constructor creates an instance of the class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
true if each element in servers is a fully-qualified DNS host name. If false, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
Thrown if contains only white space.
The constructor creates an instance of the class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
true if each element in servers is a fully-qualified DNS host name. If false, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
Thrown if has space.
The property specifies that the connection is User Datagram Protocol (UDP).
This property is true if the connection is UDP. This property is false if the LDAP connection is over TCP/IP.
The property specifies that a server name is a fully-qualified DNS host name.
This property is true if a server name is a fully-qualified DNS host name.
The property contains the set of servers this object identifies.
The set of servers this object identifies.
The class is an exception that occurs when LDAP returns an error code not included in .
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified error code. The default message displayed to the client is "Communications error with the LDAP server".
The error code returned by the LDAP implementation.
The constructor creates an instance of the class using the specified error code and message.
The error code returned by the LDAP implementation.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified error code, message, and inner exception.
The error code returned by the LDAP implementation.
The message displayed to the client when the exception occurs.
The inner exception, if any, that threw the exception.
The constructor creates an instance of the class using the specified serialization data and streaming context.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The constructor creates an instance of the class using the specified message.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified message and inner exception.
The message displayed to the client when the exception occurs.
The inner exception, if any, that threw the exception.
The property contains the LDAP error code.
The LDAP error code.
The method populates the object with the data required to serialize the parameter.
Data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The property contains a object that contains partial results.
A object that contains partial results.
The class is used to get or set various LDAP session options.
The property specifies if auto-reconnect is enabled.
This property is true if auto-reconnect is enabled or false if it is not.
The object is already disposed.
The property returns the domain to which this connection is bound.
The domain to which this connection is bound.
The object is already disposed.
The method enables support for fast concurrent binds.
The object is already disposed.
This method does not work on the current platform.
An LDAP error occurred.
The property returns the name of the LDAP server associated with the connection.
The name of the LDAP server associated with the connection.
The object is already disposed.
The property specifies whether the host is reachable.
This property is true if the host is reachable or false if it is not.
The object is already disposed.
The property specifies one of the values of the enumeration that are used when locating a domain controller.
One of the values of the enumeration that are used when locating a domain controller.
The object is already disposed.
The property contains a object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.
A object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.
The object is already disposed.
The specified time span is less than .
The property contains the number of unanswered pings that the client sends before closing a connection.
The number of unanswered pings that the client sends before closing a connection.
The object is already disposed.
The specified value is less than zero.
The property contains a object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.
A object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.
The object is already disposed.
The specified time span is less than .
The property specifies the LDAP protocol version to use.
The LDAP protocol version to use.
The object is already disposed.
The property contains a object that specifies the default callback function used to specify client certificates when establishing an SSL connection.
A object that specifies the default callback function used to specify client certificates when establishing an SSL connection.
The object is already disposed.
The property contains a object that specifies the default callback function used when chasing referrals.
A object that specifies the default callback function used when chasing referrals.
The object is already disposed.
The property contains a object that specifies how the LDAP library follows referrals returned by LDAP servers.
A object that specifies how the LDAP library follows referrals returned by LDAP servers.
The object is already disposed.
The specified value is not defined in .
The property specifies the number of hops allowed when chasing referrals.
The number of hops allowed when chasing referrals.
The object is already disposed.
The specified value is less than zero.
The property enables the internal RootDSE cache.
This property is true if the cache is enabled or false if it is not.
The object is already disposed.
The property specifies the preferred Simple Authentication and Security Layer (SASL) binding method.
The preferred SASL binding method.
The object is already disposed.
The property enables Kerberos encryption.
This property is true if Kerberos encryption is enabled or false if it is not.
The object is already disposed.
The property enables secure socket layer on connection.
This property is true if secure socket layer is enabled or false if it is not.
The object is already disposed.
The property specifies the security context associated with the current connection.
The security context associated with the current connection.
The object is already disposed.
The property contains a object that specifies the send time-out.
A object that specifies the send time-out.
The object is already disposed.
The value specified is less than .
The property enables Kerberos encryption.
This property is true if Kerberos encryption is enabled or false if it is not.
The object is already disposed.
The property contains a object that contains data about the current secure connection.
A object that contains data about the current secure connection.
The object is already disposed.
The property specifies the flags to pass to the Security Support Provider Interface (SSPI) InitializeSecurityContext function. For more information about the InitializeSecurityContext function, see the InitializeSecurityContext function topic in the MSDN library at http://msdn.microsoft.com/library.
The flags to pass to the SSPI InitializeSecurityContext function.
The object is already disposed.
The method starts transport layer security encryption.
A object that contains the controls to use.
The object is already disposed.
The request failed.
An LDAP error occurred.
The method ends transport layer security encryption.
The object is already disposed.
The request failed.
The property enables TCP keep-alive.
This property is true if TCP keep-alive is enabled or false if it is not.
The object is already disposed.
The property contains a object that specifies the default callback method to use to verify server certificates when an SSL connection is established.
A object that specifies the default callback method to use to verify server certificates when an SSL connection is established.
The object is already disposed.
The enumeration specifies data required to locate a domain controller.
No data required. The value is equal to 0 or 0x0.
Forces the cached domain controller to be ignored. The value is equal to 1 or 0x1.
Requires that the returned domain controller support Windows 2000 or later. The value is equal to 16 or 0x10.
Attempts to find a domain controller that supports directory service functions (Windows 2000 or later). The value is equal to 32 or 0x20.
Requires that the returned domain controller be a global catalog server for the forest of domains with this domain as the root. The value is equal to 64 or 0x40.
Requires that the returned domain controller be the primary domain controller for the domain. The value is equal to 128 or 0x80.
Sets the Internet protocol address of the domain controller in the DomainControllerAddress member of DomainControllerInfo. The value is equal to 512 or 0x200.
Requires that the returned domain controller be currently running the Kerberos Key Distribution Center service. The value is equal to 1024 or 0x400.
Requires that the returned domain controller be currently running the Windows Time Service. The value is equal to 2048 or 0x800.
Requires that the returned domain controller be writable. The value is equal to 4096 or 0x1000.
Attempts to find a domain controller that is a reliable time server. The value is equal to 8192 or 0x2000.
Specifies that the domain controller returned should not be the current computer. The value is equal to 16384 or 0x4000.
Specifies that the server returned is an LDAP server. The value is equal to 32768 or 0x8000.
Specifies that the DomainName parameter is a flat name. The value is equal to 65536 or 0x10000.
Specifies that the DomainName parameter is a DNS name. The value is equal to 131072 or 0x20000.
Specifies that the name returned should be a DNS name. The value is equal to 1073741824 or 0x40000000.
Specifies that the name should be a flat name. The value is equal to 2147483648 or 0x80000000.
The class modifies the distinguished name of an object. This class moves an object to a new parent and/or renames the object.
The constructor creates an instance of the object.
The constructor creates an instance of the object using the specified object name, parent name, and new object name.
The current distinguished name of the object.
The distinguished name of the new parent of the object.
The new distinguished name of the object.
The property specifies whether to delete the old relative distinguished name (RDN) of the object.
This property is true if the RDN should be deleted or false if it should not be deleted.
The property contains the distinguished name of the object.
The distinguished name of the object.
The property contains the new object name.
The new object name.
The property contains the distinguished name of the new parent of the object.
The distinguished name of the new parent of the object.
The method creates an XML node from the specified object.
The resulting object.
A object.
The class is returned by as a response to .
The class modifies the attributes of an existing directory entry.
The constructor creates an instance of the class. This constructor creates an empty request.
The constructor creates an instance of the class using the specified distinguished name and modifications.
The distinguished name of the object to modify.
An array of objects that specify the modifications.
The constructor creates an instance of the class using the specified distinguished name, modification, attribute name, and values.
The distinguished name of the object to be modified.
A object that specifies the modification to perform.
The name of the attribute to modify. This parameter cannot be null.
The new values for the attribute.
The property contains the distinguished name of the object to modify.
The distinguished name of the object to modify.
The property contains a object that specifies a list of attribute modifications.
A object that specifies a list of attribute modifications.
The method creates an XML node from the specified object.
The resulting object.
A object.
The class is returned by as a response to .
The delegate is called if a new connection was created while chasing a referral.
true if the connection is to be cached. false if not required to cache the connection.
A object that specifies the primary connection.
A object that specifies the connection which provided the referral.
A object that specifies the distinguished name of the desired entry in the referred server.
A object that specifies the identifier the referred LDAP directory.
A object that specifies the new connection created in the course of chasing a referral.
A object that specifies the credentials to pass to the referred server.
The LUID of the current user.
A object that specifies the error code from the bind operation.
The class instructs the server to return the search result in the specified page size.
The constructor creates a new instance of the class.
The constructor creates a new instance of the class using the specified page search cookie.
Specifies a cookie used for subsequent paged results search calls.
The constructor creates an instance of the class using the requested page size.
The requested page size.
The property specifies the page search cookie used for subsequent paged results search calls.
The page search cookie used for subsequent paged results search calls.
The method returns the page size and cookie associated with this control.
The page size and cookie associated with this control.
The property specifies the requested page size.
The requested page size.
The class is a directory control used to pass page data from the server to the client.
The property contains the page search cookie returned by the server.
The page search cookie returned by the server. If the cookie is empty, then the paged search completed.
The property contains the estimated result set size.
The estimated value of the total count of the entries returned.
The enumeration specifies the required type of partial results processing.
The application will not retrieve partial results. The value is equal to 0.
The application will retrieve partial results. The value is equal to 1.
An application will retrieve partial results and use the callback mechanism. The value is equal to 2.
The class represents any partial results returned from a not-yet-completed asynchronous operation.
The method determines whether this object contains a specified .
true if the specified is part of the collection or false if it is not.
The for which to search.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to or greater than the length of
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The method returns the zero-based index of the first occurrence of the specified in the .
The index value of the specified , if found, or -1 if the specified object is not found.
The for which the index is returned.
The property contains the at the specified index.
The at the specified index.
The index value of the .
is less than zero or is equal to or greater than the number of items in the collection.
The class is used to modify the behavior of a object.
The constructor creates an instance of the class.
The delegate gets or sets the default callback function used to specify the client certificates while establishing an SSL connection.
The default callback function used to specify the client certificates while establishing an SSL connection.
A object that specifies the connection.
An array of arrays that specifies the trusted certification authorities (CAs).
The delegate determines whether there is a cached connection available for use.
A cached is returned, if there is one available. If no cached connection is available, NULL is returned.
A object that specifies the primary connection.
A object that specifies the connection that provides the referral.
A object that specifies the distinguished name (DN) of the desired entry in the referred server.
A object that specifies the identifier for the referred LDAP directory.
A object that specifies the credentials to pass to the referred server.
The LUID for the current user.
The class is used to pass the security identifier (SID) of a security principle to retrieve quota-related data.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified SID.
The SID of the security principle.
The method returns the SID associated with this query.
The SID associated with this query.
The property contains the SID of the security principle.
The SID of the security principle.
The class contains delegates used as referral callback methods.
The constructor creates an instance of the class.
The property contains a object.
A object.
The property contains a object.
A object.
The property contains a object.
A object.
The enumeration specifies if and how referral chasing is pursued.
Never chase the referred-to server. Setting this option prevents a client from contacting other servers in a referral process. The value is equal to 0 or 0x0.
Chase only subordinate referrals which are a subordinate naming context in a directory tree. The ADSI LDAP provider always turns off this flag for paged searches. The value is equal to 32 or 0x20.
Chase external referrals. The value is equal to 64 or 0x40.
Chase referrals of either the subordinate or external type. The value is equal to 96 or 0x60.
The enumeration specifies the operation result codes.
The call completed successfully. The value is equal to 0.
An operation error occurred. The value is equal to 1.
A protocol error occurred. The value is equal to 2.
The time limit set by the server-side time limit parameter was exceeded. The value is equal to 3.
The size limit was exceeded. The value is equal to 4.
The attribute and known values do not match. The value is equal to 5.
The attribute and known values match. The value is equal to 6.
The authentication method is not supported. The value is equal to 7.
Strong authentication is required for this operation. The value is equal to 8.
Only partial results and referrals were received. The value is equal to 9.
A referral was returned from the server. The value is equal to 10.
The administration limit on the server was exceeded. The value is equal to 11.
The server does not support the control. The control is critical. The value is equal to 12.
Confidentiality is required for this operation. The value is equal to 13.
Simple Authentication and Security Layer (SASL) bind is in progress. The value is equal to 14.
The requested attribute does not exist. The value is equal to 16.
The type is not defined. The value is equal to 17.
The matching rule does not apply to the specified attribute type. The value is equal to 18.
A value in the request does not comply with certain constraints. The value is equal to 19.
The attribute exists or the value has been assigned. The value is equal to 20.
The syntax is invalid. The value is equal to 21.
The object does not exist. The value is equal to 32.
The alias is invalid. The value is equal to 33.
The distinguished name contains invalid syntax. The value is equal to 34.
A problem occurred when dereferencing the alias. The value is equal to 36.
The authentication that was provided was not appropriate. The value is equal to 48.
The user has insufficient access rights. The value is equal to 50.
The server is busy. The value is equal to 51.
The server is unavailable. The value is equal to 52.
The server cannot handle directory requests. The value is equal to 53.
The chain of referrals has looped back to a referring server. The value is equal to 54.
The search requires a SORT control. The value is equal to 60.
The search results exceed the specified offset range. The value is equal to 61.
A naming violation occurred. The value is equal to 64.
An object class violation occurred. The value is equal to 65.
This operation is not allowed on a non-leaf object. The value is equal to 66.
This operation is not allowed on a relative distinguished name (RDN). The value is equal to 67.
The object already exists. The value is equal to 68.
The request is attempting to modify an object class that cannot be modified. The value is equal to 69.
The returned results are too large. The value is equal to 70.
Multiple directory service agents are affected. The value is equal to 71.
An error occurred when attempting to perform a requested Virtual List View operation. The value is equal to 76.
An unknown error occurred. The value is equal to 80.
The enumeration specifies the search options which define how the search will behave.
Prevents referrals from being generated when the search results are returned. The value is equal to 1.
Instructs the server to search all naming contexts that are subordinate to the search base. The value is equal to 2.
The class is used to pass flags to the server to control search behavior.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified search options.
The enumeration value that specifies the search behavior.
The method returns search option for this object.
The search option associated with this control.
The property contains one of the values of enumeration that specifies the search behavior.
One of the values of enumeration that specifies the search behavior.
The value is not one of the values of .
The class initiates a search operation.
The constructor creates an instance of the class. This constructor creates an empty request.
The constructor creates an instance of the class using the specified name, search filter, scope, and attributes.
The distinguished name of the object at which to start the search.
An LDAP search filter.
One of the values of that specifies the search scope.
An array that contains the requested attributes in the result set.
The constructor creates an instance of the class using the specified name, search filter, scope, and attributes.
The distinguished name of the object for which to search.
A DSML v2 search filter.
A value that specifies the search scope. The default value is .
An array that contains the requested attributes in the result set.
The property contains one of the values of that specifies the dereference alias behavior.
A value that specifies the dereference alias behavior.
The value is not a member of .
The property contains the attributes of the requested object.
The attributes of the requested object. Set this property to null to retrieve all attributes.
One of the strings in object is a null reference (Nothing in Visual Basic).
The property contains the distinguished name of the requested object.
The distinguished name of the requested object.
The property contains the search filter.
The search filter. If the value is a string, this property is an LDAP search filter. If the value is an XML document, the property is a DSML v2 search filter. Any other type throws an exception.
The value is not a string or an XML document.
The property contains one of the values of that specifies the scope of the search.
One of the values of that specifies the scope of the search.
The value is not a member of .
The property contains the maximum number of objects returned in the search request.
The maximum number of objects returned in the search request.
The value is less than zero.
The property contains a object that specifies the time span allowed, if the server processes the search request.
A object that specifies the time span allowed, if the server processes the search request.
The value is less than .
The method creates an XML node from the specified object.
The resulting object.
A object.
The property specifies whether the search returns only the attribute names and not the attribute values.
If this property is true, the search returns only the attribute names. If this property is false, the search returns both the attribute names and values.
The class is sent by the server as a response to a object. This response contains zero or more objects, and zero or more objects.
The property contains the object returned by the server.
The object returned by the server.
The property contains a object that contains the entries returned by the search.
A object that contains the entries returned by the search.
The property contains the error message, if any, for this operation.
The error message, if any, for this operation.
The property contains the matched distinguished name returned by the server.
The matched distinguished name returned by the server.
The property contains a object that contains search references returned by the server.
A object that contains search references returned by the server.
The property contains the server referrals.
The server referrals.
The property contains a value of that specifies the result code for the operation.
The result code for the operation.
The class is a collection of objects.
The property contains names of attributes in this collection.
Names of attributes in this collection.
The method determines whether the collection contains the specified .
true if the collection contains attributeName or false if it does not.
The name of the attribute to locate.
is a null reference (Nothing in Visual Basic).
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to or greater than the length of
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The property contains the object specified by .
The object specified by .
The name of this attribute.
The property contains values of attributes in this collection.
Values of attributes in this collection.
The class contains an object returned in the result set.
The property contains a collection of objects.
A collection of objects.
The property contains an array of objects.
An array of objects.
The property contains the distinguished name of the returned entry.
The distinguished name of the returned entry.
The class contains a collection of objects returned in a result set.
The method determines if the collection contains the specified object.
true if the collection contains or false if it does not.
The to locate.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to or greater than the length of
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The method returns the zero-based index of the first occurrence of the specified object in .
The index value of the specified object, if found, or -1 if it was not found.
The object for which the index is returned.
The property contains the object at the specified .
The object at the specified .
The index value of the object.
The class contains a single search reference returned by the server.
The property contains an array of objects returned by the server in the search reference.
An array of objects returned by the server in the search reference.
The property contains an array of objects returned by the server in the search reference.
An array of objects returned by the server in the search reference.
The class contains a collection of objects.
The method determines if the collection contains specified object.
true if the collection contains or false if it does not.
The object to locate.
The method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
A one-dimensional array that is the destination of the elements copied from the object.
The zero-based index of where copying begins.
is a null reference (Nothing in Visual Basic).
is less than zero.
This exception can occur under one of the following conditions:
is multidimensional
is equal to or greater than the length of
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The method returns the zero-based index of the first occurrence of the specified object in .
The index value of the specified object, if found. If the object is not found, this method returns -1.
The object for which the index is returned.
The property contains the object at the specified .
The object at the specified .
The index value of the object.
The enumeration specifies the scope of a search.
Search only the specified base object. The value is equal to 0.
Search the child objects of the base object, but not the base object itself. The value is equal to 1.
Search the base object and all child objects. The value is equal to 2.
The class is used to pass flags to the server to control various security descriptor behaviors.
The constructor creates a new instance of the class.
The constructor creates a new instance of the class using the specified security masks.
A combination of values that specify security descriptor options.
The method returns the security descriptor options specified for this control.
The security descriptor options specified for this control.
The property contains a combination of values that specify security descriptor options.
A combination of values that specify security descriptor options.
The enumeration specifies various security descriptor options.
No security descriptor flag is set. The value is equal to 0 or 0x0.
The owner security descriptor flag. The value is equal to 1 or 0x1.
The primary group security descriptor flag. The value is equal to 2 or 0x2.
The discretionary access control list (DACL) security descriptor flag. The value is equal to 4 or 0x4.
The system access control list (SACL) security descriptor flag. The value is equal to 8 or 0x8.
The class contains data about a secure connection.
The property contains the encryption algorithm used by the connection.
The encryption algorithm used by the connection.
The property contains the cipher strength of the encryption algorithm used on this connection.
The cipher strength of the encryption algorithm used on this connection.
The property contains the exchange strength for this connection.
The exchange strength for this connection.
The property contains the hashing algorithm used by this connection.
The hashing algorithm used by this connection.
The property contains the strength of the hashing algorithm used on this connection.
The strength of the hashing algorithm used on this connection.
The property contains the key exchange algorithm used by this connection.
The key exchange algorithm used by this connection.
The property contains the security protocol used by this connection.
The security protocol used by this connection.
The enumeration is used to specify the security protocol used by a connection.
Indicates that the server is using the PCT1 protocol. The value is equal to 1.
Indicates that the client is using the PCT1 protocol. The value is equal to 2.
Indicates that the server is using the SSL2 protocol. The value is equal to 4.
Indicates that the client is using the SSL2 protocol. The value is equal to 8.
Indicates that the server is using the SSL3 protocol. The value is equal to 16.
Indicates that the client is using the SSL3 protocol. The value is equal to 32.
Indicates that the server is using the TLS1 protocol. The value is equal to 64.
Indicates that the client is using the TLS1 protocol. The value is equal to 128.
The class is used with to specify that the search results should include any deleted objects that match the search filter.
The constructor creates an instance of the class.
The class stores sort criteria for use by sort controls.
The constructor creates and initializes a new instance of the class.
The constructor creates and initializes a new instance of the class using the specified attribute name, matching rule, and sort order.
The name of the attribute to use as a sort key.
The object identifier (OID) of the matching rule for the sort.
true if the sort is ordered from the lowest to highest or false if the sort order is from highest to lowest.
The property specifies the name of the attribute to use as a sort key.
The name of the attribute to use as a sort key.
The property specifies the object identifier (OID) of the matching rule for the sort.
The OID of the matching rule for the sort.
The property specifies if the sort should be returned in reverse order.
This property is true if the sort is ordered from the lowest to highest or false if the sort is ordered from highest to lowest.
The class is used with to instruct the server to sort the search results before returning them to the client application.
The constructor creates and initializes a new instance of the class using the specified sort keys.
An array of objects used by the server to sort the search results before returning them to the client.
The constructor creates a new instance of the class using the specified attribute name and sort order.
The name of the attribute on which the query is based.
true if results should be returned in reverse order or false otherwise.
The constructor creates a new instance of the class using the specified attribute name, matching rule, and sort order.
The name of the attribute on which the query is based.
Specifies the object identifier (OID) of the matching rule for the sort.
true if the sort is ordered from lowest to highest or false if the sort is ordered from highest to lowest.
The method specifies the sort keys and matching rules for this control.
The sort keys and matching rules for this control.
The property contains an array of objects used by the server to sort the search results before returning them to the client.
An array of objects used by the server to sort the search results before returning them to the client.
The class is used to pass sort data from the server to the client.
The property contains the attribute name.
The attribute name.
The property returns a object that contains the result code.
A object that contains the result code.
The class is an exception that occurs in the method if the request fails.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified response.
A object returned by the server.
The constructor creates an instance of the class using the specified response and message.
A object returned by the server.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified response, message, and inner exception.
A object returned by the server.
The message displayed to the client when the exception occurs.
The , if any, that threw the exception.
The constructor creates an instance of the class using the specified serialization data and streaming context.
The data required to serialize the parameter.
The source and destination of the serialized stream associated with the parameter.
The constructor creates an instance of the class using the specified message.
The message displayed to the client when the exception occurs.
The constructor creates an instance of the class using the specified message and inner exception.
The message displayed to the client when the exception occurs.
The , if any, that threw the exception.
The class is used with to delete an entire subtree in the directory.
The constructor creates an instance of the class.
The class is used with an LDAP search function to specify the server used to verify the existence of an object.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified server name.
The global catalog the performs the validation.
The constructor creates an instance of the class using the specified server name and flags.
The global catalog that performs the validation.
The flags used for the validation.
The property contains the flag used for validation.
The flag used for validation.
The method returns the name of the validation server.
The name of the validation server.
The property contains the name of the server that performs the validation.
The name of the server that performs the validation.
The delegate gets or sets the default callback function used to verify server certificates when establishing an SSL connection.
true if the client approves the server certificate; otherwise false.
A object that specifies the connection.
A object that specifies the server certificate.
The class is used to request virtual list view (VLV) support from the server.
The constructor creates an instance of the class.
The constructor creates an instance of the class using the specified entry counts and target entry.
The number of entries before the target entry that the client requests from the server to return in the list results.
The number of entries after the target entry that the client requests from the server to return in the results.
The target entry for the search.
The constructor creates an instance of the class using the specified entry counts and offset.
The number of entries before the target entry that the client requests from the server to send back in the list results.
The number of entries after the target entry that the client requests from the server to send back in the results.
The ratio between the offset value and the content count.
The constructor creates an instance of the class using the specified entry counts and target entry.
The number of entries before the target entry that the client requests from the server to return in the list results.
The number of entries after the target entry that the client requests from the server to return in the results.
The target entry for the search.
The property specifies the number of entries after the target entry to return in the list results.
The number of entries after the target entry to return in the list results.
The property specifies the number of entries before the target entry to return in the list results.
The number of entries before the target entry to return in the list results.
The property contains the context ID assigned by the server to identify this search operation.
The context ID assigned by the server to identify this search operation.
The property contains the content count of the list.
The content count of the list.
The method returns a BER-encoded sequence that specifies the control.
A BER-encoded sequence that specifies this control.
The property contains the offset value of the target entry.
The offset value of the target entry.
The property contains the target entry of the search.
The target entry of the search.
The class is used to pass virtual list view (VLV) data from the server to the client.
The property contains the number of items in the list.
The number of items in the list.
The property contains the context ID assigned by the server to identify this search.
The context ID assigned by the server to identify this search.
The property contains a result code in the form of a object.
A result code in the form of a object.
The property contains the list index position of the target entry.
The list index position of the target entry.
The constructor creates an instance of the class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
The port number to use when connecting to the server.
Thrown if has space.
The constructor creates an instance of the class using the specified server and properties. This constructor creates an identifier that represents a set of LDAP servers.
the port number to be used when connecting to a server.
true if each element in servers is a fully-qualified DNS host name. If false, an element can be an IP address, a DNS domain or host name, or null. If null, it represents the identity of any domain controller in the domain associated with the computer account.
Thrown if has space.
The property contains the portnumber to be used to connect to the server.
Returns an integer representing the port number.
The constructor creates an instance of the class using the specified error code, message, and LDAP server error message.
The error code returned by the LDAP implementation.
The LDAP server error message.
The property contains a that contains the LDAP server error message (if any exists).
A that contains the LDAP server error message (if any).