CryptoKeyAuditRule 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CryptoKeyAuditRule 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags) |
使用指定的值初始化該類別的新實例 CryptoKeyAuditRule 。 |
| CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags) |
使用指定的值初始化該類別的新實例 CryptoKeyAuditRule 。 |
CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags)
使用指定的值初始化該類別的新實例 CryptoKeyAuditRule 。
public:
CryptoKeyAuditRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As IdentityReference, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)
參數
- identity
- IdentityReference
審計規則適用的身份。 此參數必須是一個可被鑄造為 SecurityIdentifier的物件。
- cryptoKeyRights
- CryptoKeyRights
此審計規則產生的加密金鑰操作。
- flags
- AuditFlags
產生審計的條件。
適用於
CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags)
使用指定的值初始化該類別的新實例 CryptoKeyAuditRule 。
public:
CryptoKeyAuditRule(System::String ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule(string identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : string * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As String, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)
參數
- identity
- String
審計規則適用的身份。
- cryptoKeyRights
- CryptoKeyRights
此審計規則產生的加密金鑰操作。
- flags
- AuditFlags
產生審計的條件。