DirectoryEntry.InvokeSet Method

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft