Editar

Partilhar via


CryptoKeySecurity.AddAuditRule(CryptoKeyAuditRule) Method

Definition

Adds the specified audit rule to the System Access Control List (SACL) associated with this CryptoKeySecurity object.

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

Parameters

rule
CryptoKeyAuditRule

The audit rule to add.

Remarks

Adding an audit rule might cause existing access rules in the SACL to be merged.

Applies to