Bagikan melalui


DomainController.Roles Properti

Definisi

Mendapatkan peran yang dilayani pengendali domain ini.

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

Nilai Properti

Objek ActiveDirectoryRoleCollection yang berisi kumpulan ActiveDirectoryRole anggota yang menunjukkan peran yang dilayani pengendali domain ini.

Pengecualian

Objek saat ini telah dibuang.

Berlaku untuk

Lihat juga