Redigera

Dela via


CryptoKeySecurity.ResetAccessRule(CryptoKeyAccessRule) Method

Definition

Removes all access rules in the Discretionary Access Control List (DACL) associated with this CryptoKeySecurity object and then adds the specified access rule.

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

Parameters

rule
CryptoKeyAccessRule

The access rule to reset.

Applies to