Aracılığıyla paylaş


SymmetricKey.Create Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

Top

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)