Partilhar via


Método AsymmetricKey.Create (AsymmetricKeyEncryptionAlgorithm)

Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Create ( _
    encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm _
)
'Uso
Dim instance As AsymmetricKey 
Dim encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm

instance.Create(encryptionAlgorithm)
public void Create(
    AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm
)
public:
void Create(
    AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm
)
member Create : 
        encryptionAlgorithm:AsymmetricKeyEncryptionAlgorithm -> unit
public function Create(
    encryptionAlgorithm : AsymmetricKeyEncryptionAlgorithm
)

Parâmetros

Exemplos

Chamando métodos

Consulte também

Referência

AsymmetricKey Classe

Sobrecarregado Create

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE ASYMMETRIC KEY (Transact-SQL)