DirectoryEntry.InvokeSet Method
.NET Framework 4.5
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.