AddRequest 类

定义

AddRequest 类将项添加到目录中。The AddRequest class adds an entry to the directory.

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

注解

请求可以添加到, DsmlRequestDocument也可以用作的SendRequest参数。The request may be added to the DsmlRequestDocument or it can be used as the parameter for SendRequest.

构造函数

AddRequest()

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

AddRequest(String, DirectoryAttribute[])

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

AddRequest(String, String)

AddRequest(String, String) 构造函数使用指定的 distinguishedName 和对象类创建 AddRequest 类的实例。The AddRequest(String, String) constructor creates an instance of the AddRequest class using the specified distinguishedName and the object class.

属性

Attributes

Attributes 属性包含该对象的特性-值对的 DirectoryAttributeCollectionThe Attributes property contains a DirectoryAttributeCollection of attribute-value pairs for the object.

Controls

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

(继承自 DirectoryRequest)
DistinguishedName

DistinguishedName 属性包含对象的识别名。The DistinguishedName property contains the distinguished name of the object.

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()

返回一个表示当前对象的 string。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.

适用于