AsymmetricKey.Create Method (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
)
Parameters
- encryptionAlgorithm
Type: Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace