Bagikan melalui


DirectoryServicesPermission Konstruktor

Definisi

Menginisialisasi instans baru kelas DirectoryServicesPermission.

Overload

DirectoryServicesPermission()

Menginisialisasi instans baru kelas DirectoryServicesPermission.

DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan entri tingkat akses izin yang ditentukan.

DirectoryServicesPermission(PermissionState)

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan status izin yang ditentukan.

DirectoryServicesPermission(DirectoryServicesPermissionAccess, String)

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan tingkat akses yang ditentukan dan jalur yang ditentukan ke simpul Active Directory Domain Services.

DirectoryServicesPermission()

Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs

Menginisialisasi instans baru kelas DirectoryServicesPermission.

public:
 DirectoryServicesPermission();
public DirectoryServicesPermission ();
Public Sub New ()

Berlaku untuk

DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan entri tingkat akses izin yang ditentukan.

public:
 DirectoryServicesPermission(cli::array <System::DirectoryServices::DirectoryServicesPermissionEntry ^> ^ permissionAccessEntries);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionEntry[] permissionAccessEntries);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionEntry[]? permissionAccessEntries);
new System.DirectoryServices.DirectoryServicesPermission : System.DirectoryServices.DirectoryServicesPermissionEntry[] -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (permissionAccessEntries As DirectoryServicesPermissionEntry())

Parameter

permissionAccessEntries
DirectoryServicesPermissionEntry[]

Array DirectoryServicesPermissionEntry objek. Properti PermissionEntries diatur ke nilai ini.

Pengecualian

Nilai yang ditentukan untuk permissionAccessEntries parameter adalah null.

Berlaku untuk

DirectoryServicesPermission(PermissionState)

Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan status izin yang ditentukan.

public:
 DirectoryServicesPermission(System::Security::Permissions::PermissionState state);
public DirectoryServicesPermission (System.Security.Permissions.PermissionState state);
new System.DirectoryServices.DirectoryServicesPermission : System.Security.Permissions.PermissionState -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (state As PermissionState)

Parameter

state
PermissionState

Salah PermissionState satu nilai.

Pengecualian

Parameter State bukan nilai yang valid dari PermissionState.

Lihat juga

Berlaku untuk

DirectoryServicesPermission(DirectoryServicesPermissionAccess, String)

Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs
Sumber:
DirectoryServicesPermission.cs

Menginisialisasi instans DirectoryServicesPermission baru kelas dengan tingkat akses yang ditentukan dan jalur yang ditentukan ke simpul Active Directory Domain Services.

public:
 DirectoryServicesPermission(System::DirectoryServices::DirectoryServicesPermissionAccess permissionAccess, System::String ^ path);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionAccess permissionAccess, string path);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionAccess permissionAccess, string? path);
new System.DirectoryServices.DirectoryServicesPermission : System.DirectoryServices.DirectoryServicesPermissionAccess * string -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (permissionAccess As DirectoryServicesPermissionAccess, path As String)

Parameter

path
String

Jalur objek Active Directory Domain Services, atau dikenal sebagai ADsPath, tempat izin diterapkan.

Berlaku untuk