ApplicationPartition.DirectoryServers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈