DomainController.Roles 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得此網域控制站所擔任的角色。
public:
property System::DirectoryServices::ActiveDirectory::ActiveDirectoryRoleCollection ^ Roles { System::DirectoryServices::ActiveDirectory::ActiveDirectoryRoleCollection ^ get(); };
public System.DirectoryServices.ActiveDirectory.ActiveDirectoryRoleCollection Roles { get; }
member this.Roles : System.DirectoryServices.ActiveDirectory.ActiveDirectoryRoleCollection
Public ReadOnly Property Roles As ActiveDirectoryRoleCollection
屬性值
ActiveDirectoryRoleCollection 物件,其中包含可指示此網域控制站擔任之角色的 ActiveDirectoryRole 成員集合。
例外狀況
目前的物件已經處置。