CompareRequest 类

定义

CompareRequest 类确定目录对象是否容纳特性的指定值。The CompareRequest class determines whether the directory object holds the specified value for the attribute.

public ref class CompareRequest : System::DirectoryServices::Protocols::DirectoryRequest
public class CompareRequest : System.DirectoryServices.Protocols.DirectoryRequest
type CompareRequest = class
    inherit DirectoryRequest
Public Class CompareRequest
Inherits DirectoryRequest
继承

构造函数

CompareRequest()

CompareRequest() 构造函数创建 CompareRequest 类的实例。The CompareRequest() constructor creates an instance of the CompareRequest class.

CompareRequest(String, DirectoryAttribute)

CompareRequest(String, DirectoryAttribute) 构造函数使用指定的识别名和特性创建 CompareRequest 类的实例。The CompareRequest(String, DirectoryAttribute) constructor creates an instance of the CompareRequest class using the specified distinguished name and attributes.

CompareRequest(String, String, Byte[])

CompareRequest(String, String, Byte[]) 构造函数使用指定的识别名、特性和特性值创建 CompareRequest 的实例。The CompareRequest(String, String, Byte[]) constructor creates an instance of CompareRequest using the specified distinguished name, attribute, and attribute value.

CompareRequest(String, String, String)

CompareRequest(String, String, String) 构造函数使用指定的识别名、特性和特性值创建 CompareRequest 类的实例。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)

CompareRequest(String, String, Uri) 构造函数使用指定的识别名、特性和特性值创建 CompareRequest 类的实例。The CompareRequest(String, String, Uri) constructor creates an instance of the CompareRequest class using the specified distinguished name, attribute, and attribute value.

属性

Assertion

Assertion 属性获取用于比较的特性/值对。The Assertion property gets the attribute/value pair used to compare.

Controls

Controls 属性包含 DirectoryControlCollection 对象。The Controls property contains a DirectoryControlCollection object.

(继承自 DirectoryRequest)
DistinguishedName

DistinguishedName 属性获取或设置要比较的对象的识别名。The DistinguishedName property gets or sets the distinguished name of the object to compare.

RequestId

RequestId 属性包含请求中指定的 requestIDThe RequestId property contains the requestID specified in the request.

(继承自 DirectoryRequest)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
ToXmlNode(XmlDocument)

ToXmlNode(XmlDocument) 方法根据指定的 XmlDocument 对象创建 XML 节点。The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.

ToXmlNode(XmlDocument)

ToXmlNode(XmlDocument) 方法根据指定的 XmlDocument 对象创建 XML 节点。The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.

(继承自 DirectoryRequest)

适用于