共用方式為


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)