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);
[System.Runtime.InteropServices.ComVisible(false)]
public void InvokeSet (string propertyName, params object[] args);
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.

Security

DirectoryServicesPermission
To set the property on the native object.

Applies to

See also