Metoda Create (AsymmetricKeyEncryptionAlgorithm, String)
Tworzy klucz asymetrycznego na wystąpienie SQL Server z określony algorytm szyfrowanie i określonego hasła.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public Sub Create ( _
encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm, _
password As String _
)
'Użycie
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
)
Parameters
- encryptionAlgorithm
Typ: Microsoft.SqlServer.Management.Smo. . :: . .AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm wartość obiektu, który określa algorytm szyfrowanie.
- password
Typ: System. . :: . .String
A String wartość, która określa hasło, z którym jest zaszyfrowany klucz.
Zobacz także