Modifier

Partager via


ModifyRequest Constructors

Definition

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

Overloads

ModifyRequest()

The ModifyRequest() constructor creates an instance of the ModifyRequest class. This constructor creates an empty request.

ModifyRequest(String, DirectoryAttributeModification[])

The ModifyRequest(String, DirectoryAttributeModification[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name and modifications.

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

The ModifyRequest(String, DirectoryAttributeOperation, String, Object[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name, modification, attribute name, and values.

ModifyRequest()

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The ModifyRequest() constructor creates an instance of the ModifyRequest class. This constructor creates an empty request.

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

Applies to

ModifyRequest(String, DirectoryAttributeModification[])

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The ModifyRequest(String, DirectoryAttributeModification[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name and modifications.

public:
 ModifyRequest(System::String ^ distinguishedName, ... cli::array <System::DirectoryServices::Protocols::DirectoryAttributeModification ^> ^ modifications);
public ModifyRequest (string distinguishedName, params System.DirectoryServices.Protocols.DirectoryAttributeModification[] modifications);
new System.DirectoryServices.Protocols.ModifyRequest : string * System.DirectoryServices.Protocols.DirectoryAttributeModification[] -> System.DirectoryServices.Protocols.ModifyRequest
Public Sub New (distinguishedName As String, ParamArray modifications As DirectoryAttributeModification())

Parameters

distinguishedName
String

The distinguished name of the object to modify.

modifications
DirectoryAttributeModification[]

An array of DirectoryAttributeModification objects that specify the modifications.

Applies to

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

Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs
Source:
DirectoryRequest.cs

The ModifyRequest(String, DirectoryAttributeOperation, String, Object[]) constructor creates an instance of the ModifyRequest class using the specified distinguished name, modification, attribute name, and values.

public:
 ModifyRequest(System::String ^ distinguishedName, System::DirectoryServices::Protocols::DirectoryAttributeOperation operation, System::String ^ attributeName, ... cli::array <System::Object ^> ^ values);
public ModifyRequest (string distinguishedName, System.DirectoryServices.Protocols.DirectoryAttributeOperation operation, string attributeName, params object[] values);
new System.DirectoryServices.Protocols.ModifyRequest : string * System.DirectoryServices.Protocols.DirectoryAttributeOperation * string * obj[] -> System.DirectoryServices.Protocols.ModifyRequest
Public Sub New (distinguishedName As String, operation As DirectoryAttributeOperation, attributeName As String, ParamArray values As Object())

Parameters

distinguishedName
String

The distinguished name of the object to be modified.

operation
DirectoryAttributeOperation

A DirectoryAttributeOperation object that specifies the modification to perform.

attributeName
String

The name of the attribute to modify. This parameter cannot be null.

values
Object[]

The new values for the attribute.

Applies to