DirectoryEntry.InvokeSet(String, Object[]) Method

Definition

Sets a property on the native Active Directory Domain Services object.

public:
 void InvokeSet(System::String ^ propertyName, ... cli::array <System::Object ^> ^ args);
public void InvokeSet (string propertyName, params object[] args);
public void InvokeSet (string propertyName, params object?[]? args);
[System.Runtime.InteropServices.ComVisible(false)]
public void InvokeSet (string propertyName, params object[] args);
member this.InvokeSet : string * obj[] -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.InvokeSet : string * obj[] -> unit
Public Sub InvokeSet (propertyName As String, ParamArray args As Object())

Parameters

propertyName
String

The name of the property to set.

args
Object[]

The Active Directory Domain Services object to set.

Attributes

Remarks

This method should not be used. The Properties property should be used to access the properties of the DirectoryEntry object.

Applies to

See also