Jaa


SymmetricKey.Create Method

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Using EncryptionEncryption HierarchyCREATE SYMMETRIC KEY (Transact-SQL)

Overload List

Name Description
SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)  
SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)  
SymmetricKey.Create (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)
Creates a symmetric key on the database with the specified encryption type and method.
SymmetricKey.Create (SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)
Creates a symmetric key on the database with the specified encryption type and method.

See Also

Reference

SymmetricKey Class
SymmetricKey Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Encryption
Encryption Hierarchy
CREATE SYMMETRIC KEY (Transact-SQL)
OPEN SYMMETRIC KEY (Transact-SQL)
Using Encryption
Encryption Hierarchy
CREATE SYMMETRIC KEY (Transact-SQL)