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

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

C#
public ModifyRequest();

Applies to

.NET 10 (package-provided) a ďalšie verzie
Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

ModifyRequest(String, DirectoryAttributeModification[])

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.

C#
public ModifyRequest(string distinguishedName, params System.DirectoryServices.Protocols.DirectoryAttributeModification[] modifications);

Parameters

distinguishedName
String

The distinguished name of the object to modify.

modifications
DirectoryAttributeModification[]

An array of DirectoryAttributeModification objects that specify the modifications.

Applies to

.NET 10 (package-provided) a ďalšie verzie
Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

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

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.

C#
public ModifyRequest(string distinguishedName, System.DirectoryServices.Protocols.DirectoryAttributeOperation operation, string attributeName, params object[] values);

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

.NET 10 (package-provided) a ďalšie verzie
Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)