ModifyRequest 类

定义

ModifyRequest 类修改现有目录项的特性。The ModifyRequest class modifies the attributes of an existing directory entry.

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

构造函数

ModifyRequest()

ModifyRequest() 构造函数创建 ModifyRequest 类的实例。The ModifyRequest() constructor creates an instance of the ModifyRequest class. 此构造函数创建一个空请求。This constructor creates an empty request.

ModifyRequest(String, DirectoryAttributeModification[])

ModifyRequest(String, DirectoryAttributeModification[]) 构造函数使用指定的识别名和修改创建 ModifyRequest 类的实例。The ModifyRequest(String, DirectoryAttributeModification[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name and modifications.

ModifyRequest(String, DirectoryAttributeOperation, String, Object[])

ModifyRequest(String, DirectoryAttributeOperation, String, Object[]) 构造函数使用指定的识别名、修改、特性名称和值创建 ModifyRequest 类的实例。The ModifyRequest(String, DirectoryAttributeOperation, String, Object[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name, modification, attribute name, and values.

属性

Controls

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

(继承自 DirectoryRequest)
DistinguishedName

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

Modifications

Modifications 属性包含指定特性修改列表的 DirectoryAttributeModificationCollection 对象。The Modifications property contains a DirectoryAttributeModificationCollection object that specifies a list of attribute modifications.

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.

适用于