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

属性值

一个 ReadOnlySiteCollection,它包含当前的 ActiveDirectorySite 中的 Forest 站点。

例外

调用基础目录服务导致错误。

目标服务器忙或不可用。

已释放此对象。

适用于

另请参阅