Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SymmetricKey.Create Method (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

Creates a symmetric key on the database with the specified encryption type and method.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public void Create(
	SymmetricKeyEncryption keyEncryption,
	SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm
)

Parameters

keyEncryption
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies the encryption type.
keyEncryptionAlgorithm
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm
A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.