Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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[] keyEncryptions,
	SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm


Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[]

A SymmetricKeyEncryption object array value that specifies more than one encryption type.

Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft