Edit

Kongsi melalui


CryptoKeySecurity.SetAuditRule(CryptoKeyAuditRule) Method

Definition

Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this CryptoKeySecurity object and then adds the specified audit rule.

public:
 void SetAuditRule(System::Security::AccessControl::CryptoKeyAuditRule ^ rule);
public void SetAuditRule (System.Security.AccessControl.CryptoKeyAuditRule rule);
override this.SetAuditRule : System.Security.AccessControl.CryptoKeyAuditRule -> unit
Public Sub SetAuditRule (rule As CryptoKeyAuditRule)

Parameters

rule
CryptoKeyAuditRule

The audit rule to set.

Applies to