Modifier

Partager via


ApplicationPartition.DirectoryServers Property

Definition

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

public:
 property System::DirectoryServices::ActiveDirectory::DirectoryServerCollection ^ DirectoryServers { System::DirectoryServices::ActiveDirectory::DirectoryServerCollection ^ get(); };
public System.DirectoryServices.ActiveDirectory.DirectoryServerCollection DirectoryServers { get; }
member this.DirectoryServers : System.DirectoryServices.ActiveDirectory.DirectoryServerCollection
Public ReadOnly Property DirectoryServers As DirectoryServerCollection

Property Value

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

Exceptions

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

The object has been disposed.

Remarks

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.

Applies to

See also