Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds key encryption to the symmetric key.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub AddKeyEncryption ( _
keyEncryptions As SymmetricKeyEncryption() _
)
'Usage
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[]
)
Parameters
- keyEncryptions
Type: 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.
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