DirectoryEntry.InvokeSet Method (String, Object[])

 

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

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

[ComVisibleAttribute(false)]
public void InvokeSet(
	string propertyName,
	params object[] args
)

Parameters

propertyName
Type: System.String

The name of the property to set.

args
Type: System.Object[]

The Active Directory Domain Services object to set.

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

DirectoryServicesPermission

To set the property on the native object.

.NET Framework
Available since 2.0
Return to top
Show: