ApplicationPartition.FindAllDirectoryServers Method ()

 

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition.

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

public ReadOnlyDirectoryServerCollection FindAllDirectoryServers()

Return Value

Type: System.DirectoryServices.ActiveDirectory.ReadOnlyDirectoryServerCollection

A ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition.

Exception Condition
InvalidOperationException

The ApplicationPartition object has not yet been committed to the underlying directory store.

ObjectDisposedException

The object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: