This topic has not yet been rated - Rate this topic

SymmetricKey.Create Method (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)

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,
	string passPhrase
)

Parameters

keyEncryptions
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[]
A SymmetricKeyEncryption object array value that specifies more than one encryption type.
keyEncryptionAlgorithm
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm
A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.
passPhrase
Type: System.String
A String value that specifies the pass phrase from which the symmetric key can be derived.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.