SymmetricKey.AddKeyEncryption 方法 (array<SymmetricKeyEncryption )
Adds key encryption to the symmetric key.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub AddKeyEncryption ( _
keyEncryptions As SymmetricKeyEncryption() _
)
'用途
Dim instance As SymmetricKey
Dim keyEncryptions As SymmetricKeyEncryption()
instance.AddKeyEncryption(keyEncryptions)
public void AddKeyEncryption(
SymmetricKeyEncryption[] keyEncryptions
)
public:
void AddKeyEncryption(
array<SymmetricKeyEncryption^>^ keyEncryptions
)
member AddKeyEncryption :
keyEncryptions:SymmetricKeyEncryption[] -> unit
public function AddKeyEncryption(
keyEncryptions : SymmetricKeyEncryption[]
)
參數
- keyEncryptions
型別:array<Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[]
A SymmetricKeyEncryption object array value that specifies two or more encryption mechanisms to be added to the symmetric key.
備註
The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間