共用方式為


ApplicationPartition.DirectoryServers 屬性

定義

取得 DirectoryServerCollection 物件,其中包含裝載這個應用程式磁碟分割的目錄伺服器。

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

屬性值

DirectoryServerCollection 物件,其中包含表示這個應用程式磁碟分割之目錄伺服器的 DirectoryServer 物件。

例外狀況

ApplicationPartition 物件尚未在基礎目錄存放區中認可。

物件已被處置。

備註

如果ApplicationPartition對象已認可至基礎目錄服務存放區,ApplicationPartition.FindAllDirectoryServers()ApplicationPartition.DirectoryServers 屬性會傳回與 方法相同的物件集合DirectoryServer

適用於

另請參閱