Bagikan melalui


ActiveDirectorySecurity.ModifyAccessRule Metode

Definisi

Menerapkan modifikasi yang ditentukan ke yang ditentukan AccessRule.

public:
 override bool ModifyAccessRule(System::Security::AccessControl::AccessControlModification modification, System::Security::AccessControl::AccessRule ^ rule, [Runtime::InteropServices::Out] bool % modified);
public override bool ModifyAccessRule (System.Security.AccessControl.AccessControlModification modification, System.Security.AccessControl.AccessRule rule, out bool modified);
override this.ModifyAccessRule : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AccessRule * bool -> bool
Public Overrides Function ModifyAccessRule (modification As AccessControlModification, rule As AccessRule, ByRef modified As Boolean) As Boolean

Parameter

modification
AccessControlModification

Jenis modifikasi kontrol akses yang akan dilakukan.

rule
AccessRule

Aturan akses untuk dimodifikasi.

modified
Boolean

true jika benar-benar dimodifikasi; jika tidak, false.

Mengembalikan

true jika berhasil dimodifikasi; jika tidak, false.

Berlaku untuk