DomainController.Roles 属性

定义

获取此域控制器提供的角色。

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 成员,这些成员指示此域控制器提供的角色。

例外

已释放当前对象。

适用于

另请参阅