ActiveDirectorySubnet.GetDirectoryEntry Method ()

 

Gets the DirectoryEntry object for this ActiveDirectorySubnet object.

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

public DirectoryEntry GetDirectoryEntry()

Exception Condition
InvalidOperationException

The ActiveDirectorySubnet object has not yet been saved in the Active Directory Domain Services store.

ObjectDisposedException

The object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: