Méthode AsymmetricKey.Create (AsymmetricKeyEncryptionAlgorithm)
Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Create ( _
encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm _
)
'Utilisation
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
)
Paramètres
- encryptionAlgorithm
Type : Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo