Modifier

Partager via


CompareRequest Constructors

Definition

The CompareRequest() constructor creates an instance of the CompareRequest class.

Overloads

CompareRequest()

The CompareRequest() constructor creates an instance of the CompareRequest class.

CompareRequest(String, DirectoryAttribute)

The CompareRequest(String, DirectoryAttribute) constructor creates an instance of the CompareRequest class using the specified distinguished name and attributes.

CompareRequest(String, String, Byte[])

The CompareRequest(String, String, Byte[]) constructor creates an instance of CompareRequest using the specified distinguished name, attribute, and attribute value.

CompareRequest(String, String, String)

The CompareRequest(String, String, String) constructor creates an instance of the CompareRequest class using the specified distinguished name, attribute, and attribute value.

CompareRequest(String, String, Uri)

The CompareRequest(String, String, Uri) constructor creates an instance of the CompareRequest class using the specified distinguished name, attribute, and attribute value.

CompareRequest()

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The CompareRequest() constructor creates an instance of the CompareRequest class.

public:
 CompareRequest();
public CompareRequest ();
Public Sub New ()

Applies to

CompareRequest(String, DirectoryAttribute)

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The CompareRequest(String, DirectoryAttribute) constructor creates an instance of the CompareRequest class using the specified distinguished name and attributes.

public:
 CompareRequest(System::String ^ distinguishedName, System::DirectoryServices::Protocols::DirectoryAttribute ^ assertion);
public CompareRequest (string distinguishedName, System.DirectoryServices.Protocols.DirectoryAttribute assertion);
new System.DirectoryServices.Protocols.CompareRequest : string * System.DirectoryServices.Protocols.DirectoryAttribute -> System.DirectoryServices.Protocols.CompareRequest
Public Sub New (distinguishedName As String, assertion As DirectoryAttribute)

Parameters

distinguishedName
String

The distinguished name of the DirectoryAttribute object to compare.

Exceptions

assertion contains a null reference (Nothing in Visual Basic).

assertion must contain exactly one value.

Remarks

This constructor creates an object that compares attributeName on the object distinguishedName.

Applies to

CompareRequest(String, String, Byte[])

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The CompareRequest(String, String, Byte[]) constructor creates an instance of CompareRequest using the specified distinguished name, attribute, and attribute value.

public:
 CompareRequest(System::String ^ distinguishedName, System::String ^ attributeName, cli::array <System::Byte> ^ value);
public CompareRequest (string distinguishedName, string attributeName, byte[] value);
new System.DirectoryServices.Protocols.CompareRequest : string * string * byte[] -> System.DirectoryServices.Protocols.CompareRequest
Public Sub New (distinguishedName As String, attributeName As String, value As Byte())

Parameters

distinguishedName
String

The distinguished name of the object to compare.

attributeName
String

The name of the attribute to compare.

value
Byte[]

The value to compare.

Exceptions

attributeName or value contains a null reference (Nothing in Visual Basic).

Remarks

This constructor creates an object that compares attributeName on the object distinguishedName against value.

Applies to

CompareRequest(String, String, String)

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The CompareRequest(String, String, String) constructor creates an instance of the CompareRequest class using the specified distinguished name, attribute, and attribute value.

public:
 CompareRequest(System::String ^ distinguishedName, System::String ^ attributeName, System::String ^ value);
public CompareRequest (string distinguishedName, string attributeName, string value);
new System.DirectoryServices.Protocols.CompareRequest : string * string * string -> System.DirectoryServices.Protocols.CompareRequest
Public Sub New (distinguishedName As String, attributeName As String, value As String)

Parameters

distinguishedName
String

The distinguished name of the object to compare.

attributeName
String

The name of the attribute to compare.

value
String

The value to compare.

Exceptions

attributeName or value contains a null reference (Nothing in Visual Basic).

Remarks

This constructor creates an object that compares attributeName on the object distinguishedName against value.

Applies to

CompareRequest(String, String, Uri)

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The CompareRequest(String, String, Uri) constructor creates an instance of the CompareRequest class using the specified distinguished name, attribute, and attribute value.

public:
 CompareRequest(System::String ^ distinguishedName, System::String ^ attributeName, Uri ^ value);
public CompareRequest (string distinguishedName, string attributeName, Uri value);
new System.DirectoryServices.Protocols.CompareRequest : string * string * Uri -> System.DirectoryServices.Protocols.CompareRequest
Public Sub New (distinguishedName As String, attributeName As String, value As Uri)

Parameters

distinguishedName
String

The distinguished name of the object to compare.

attributeName
String

The name of the attribute to compare.

value
Uri

The value to compare.

Exceptions

attributeName or value contains a null reference (Nothing in Visual Basic).

Remarks

This constructor creates an object that compares attributeName on the object distinguishedName against value.

Applies to