AsymmetricKey.Create 메서드 (AsymmetricKeyEncryptionAlgorithm, String)
Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm and the specified password.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Create ( _
encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm, _
password As String _
)
‘사용 방법
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
)
매개 변수
- encryptionAlgorithm
유형: Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
- password
유형: System.String
A String value that specifies the password with which the key is encrypted.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스