ConfigurationSet.FindAdamInstance Method ()

 

Finds an AD LDS instance in this configuration set.

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

public AdamInstance FindAdamInstance()

Return Value

Type: System.DirectoryServices.ActiveDirectory.AdamInstance

An AdamInstance object that represents an AD LDS instance that was found.

Exception Condition
ObjectDisposedException

The object has been disposed.

ActiveDirectoryObjectNotFoundException

An AD LDS instance could be not found in this configuration set.

.NET Framework
Available since 2.0
Return to top
Show: