Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm and the specified password.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Create ( _
encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm, _
password As String _
)
'Uso
Dim instance As AsymmetricKey
Dim encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm
Dim password As String
instance.Create(encryptionAlgorithm, _
password)
public void Create(
AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm,
string password
)
public:
void Create(
AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm,
String^ password
)
member Create :
encryptionAlgorithm:AsymmetricKeyEncryptionAlgorithm *
password:string -> unit
public function Create(
encryptionAlgorithm : AsymmetricKeyEncryptionAlgorithm,
password : String
)
Parámetros
- encryptionAlgorithm
Tipo: Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
- password
Tipo: System.String
A String value that specifies the password with which the key is encrypted.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo