SymmetricKey.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) |
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。 |
| Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) |
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。 |
| Create(SymmetricKeyEncryption, String, String, CreateDispositionType) | |
| Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) |
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。 |
| Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) |
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 |
| Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) |
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。 |
| Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) |
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 |
| Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) |
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 |
| Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) |
在伺服器上建立物件。 keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 |
| Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) |
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 |
| Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) |
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 |
Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)
參數
- keyEncryptions
- SymmetricKeyEncryption[]
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- String
- identityPhrase
- String
適用於
Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)
參數
- keyEncryptions
- SymmetricKeyEncryption[]
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- SecureString
- identityPhrase
- String
適用於
Create(SymmetricKeyEncryption, String, String, CreateDispositionType)
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, string providerAlgorithm, string providerKeyName, Microsoft.SqlServer.Management.Smo.CreateDispositionType createDispositionType);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * string * string * Microsoft.SqlServer.Management.Smo.CreateDispositionType -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, providerAlgorithm As String, providerKeyName As String, createDispositionType As CreateDispositionType)
參數
- keyEncryption
- SymmetricKeyEncryption
- providerAlgorithm
- String
- providerKeyName
- String
- createDispositionType
- CreateDispositionType
適用於
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)
參數
- keyEncryption
- SymmetricKeyEncryption
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- SecureString
- identityPhrase
- String
適用於
Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)
參數
- keyEncryptions
- SymmetricKeyEncryption[]
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- String
適用於
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。 identityPhrase 參數用於標記(使用基於同一詞語的 GUID)並以金鑰加密的資料。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)
參數
- keyEncryption
- SymmetricKeyEncryption
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- String
- identityPhrase
- String
適用於
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)
參數
- keyEncryption
- SymmetricKeyEncryption
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- String
適用於
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)
參數
- keyEncryption
- SymmetricKeyEncryption
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- SecureString
適用於
Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)
在伺服器上建立物件。 keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)
參數
- keyEncryptions
- SymmetricKeyEncryption[]
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
適用於
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)
在伺服器上建立物件。 keyEncryption 參數指定加密類型。 keyEncryptionAlgorithm 參數指定加密方法。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)
參數
- keyEncryption
- SymmetricKeyEncryption
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
適用於
Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)
在伺服器上建立物件。 . keyEncryption 參數指定了一組加密類型的陣列。 keyEncryptionAlgorithm 參數指定加密方法。 passPhrase 參數指定一個可推導出對稱密鑰的密碼短語。
public void Create(Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)
參數
- keyEncryptions
- SymmetricKeyEncryption[]
- keyEncryptionAlgorithm
- SymmetricKeyEncryptionAlgorithm
- passPhrase
- SecureString