DomainController.Roles 属性
定义
获取此域控制器服务的角色。Gets the roles that this domain controller serves.
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 成员的集合。A ActiveDirectoryRoleCollection object that contains a collection of ActiveDirectoryRole members that indicate the roles that this domain controller serves.
例外
当前对象已被释放。The current object has been disposed.