SymmetricKey.AddKeyEncryption 方法 (SymmetricKeyEncryption)
Adds key encryption to the symmetric key.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub AddKeyEncryption ( _
keyEncryption As SymmetricKeyEncryption _
)
用法
Dim instance As SymmetricKey
Dim keyEncryption As SymmetricKeyEncryption
instance.AddKeyEncryption(keyEncryption)
public void AddKeyEncryption(
SymmetricKeyEncryption keyEncryption
)
public:
void AddKeyEncryption(
SymmetricKeyEncryption^ keyEncryption
)
member AddKeyEncryption :
keyEncryption:SymmetricKeyEncryption -> unit
public function AddKeyEncryption(
keyEncryption : SymmetricKeyEncryption
)
参数
- keyEncryption
类型:Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies one encryption mechanism 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 命名空间