SymmetricKey.Create Method

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

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

Using Encryption加密层次结构CREATE SYMMETRIC KEY (Transact-SQL)

重载列表

名称 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.

请参阅

参考

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

其他资源

Using Encryption
加密层次结构
CREATE SYMMETRIC KEY (Transact-SQL)
OPEN SYMMETRIC KEY (Transact-SQL)
Using Encryption
加密层次结构
CREATE SYMMETRIC KEY (Transact-SQL)