Partilhar via


AsymmetricKey.Create Method

Creates an asymmetric key based on an asymmetric key encryption algorithm or based on an asymmetric key source type.

Remarks

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

Overload List

Name Description
AsymmetricKey.Create (AsymmetricKeyEncryptionAlgorithm)
Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.
AsymmetricKey.Create (AsymmetricKeyEncryptionAlgorithm, String)
Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm and the specified password.
AsymmetricKey.Create (String, AsymmetricKeySourceType)
Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.
AsymmetricKey.Create (String, AsymmetricKeySourceType, String)
Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.

See Also

Reference

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

Other Resources

CREATE ASYMMETRIC KEY (Transact-SQL)