DirectoryEntry.NativeObject
The NativeObject property gets the native Active Directory Service Interfaces (ADSI) object.
public Object NativeObject {get;}
Public ReadOnly Property NativeObject As Object
Property Value
The native ADSI object.
Remarks
Use this property to cast the native Active Directory object, which implements the IADs interface, when you want to use a COM interface.
This object is for advanced scenarios that cannot be accomplished with the System.DirectoryServices classes alone. To use it, you need to import one of the COM interfaces from the IADs family, then cast this property to that interface.
Requirements
Client | Requires Windows XP Home Edition, Windows XP Professional, Windows Me, or Windows 98. |
Server | Requires Windows Server 2003, Windows 2000, or Windows NT 4.0. |
Namespace | Defined in System.DirectoryServices. |
Assembly | Requires System.DirectoryServices (in System.DirectoryServices.dll). |
.NET Framework | Requires .NET Framework 1.0. |