AsymmetricKey.Create-Methode (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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Create ( _
encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm _
)
'Usage
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
)
Parameter
- encryptionAlgorithm
Typ: Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
Beispiele
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace