DirectoryServers Property
Collapse the table of content
Expand the table of content

ApplicationPartition.DirectoryServers Property


Gets an DirectoryServerCollection object that contains the directory servers that host this application partition.

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

public DirectoryServerCollection DirectoryServers { get; }

Property Value

Type: System.DirectoryServices.ActiveDirectory.DirectoryServerCollection

A DirectoryServerCollection object that contains DirectoryServer objects that represent directory servers for this application partition.

Exception Condition

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


The object has been disposed.

The ApplicationPartition.DirectoryServers property returns the same collection of DirectoryServer objects as the ApplicationPartition.FindAllDirectoryServers() method if the ApplicationPartition object has been committed to the underlying directory services store.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft