共用方式為


Forest.Sites 屬性

定義

取得樹系中所包含的站台集合。

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

屬性值

在目前的 Forest 中包含 ActiveDirectorySite 站台的 ReadOnlySiteCollection

例外狀況

呼叫基礎目錄服務時,發生錯誤。

目標伺服器忙碌或無法使用。

物件已被處置。

適用於

另請參閱