SymmetricKey.AddKeyEncryption Method (SymmetricKeyEncryption)
Adds key encryption to the symmetric key.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub AddKeyEncryption ( _
keyEncryption As SymmetricKeyEncryption _
)
'Kullanım
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
)
Parameters
- keyEncryption
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies one encryption mechanism to be added to the symmetric key.
Remarks
The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace