다음을 통해 공유


OpenWithCertificate 메서드 (String, String)

Opens the symmetric key with a certificate.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub OpenWithCertificate ( _
    certificateName As String, _
    privateKeyPassword As String _
)
‘사용 방법
Dim instance As SymmetricKey
Dim certificateName As String
Dim privateKeyPassword As String

instance.OpenWithCertificate(certificateName, _
    privateKeyPassword)
public void OpenWithCertificate(
    string certificateName,
    string privateKeyPassword
)
public:
void OpenWithCertificate(
    String^ certificateName, 
    String^ privateKeyPassword
)
member OpenWithCertificate : 
        certificateName:string * 
        privateKeyPassword:string -> unit 
public function OpenWithCertificate(
    certificateName : String, 
    privateKeyPassword : String
)

매개 변수

  • privateKeyPassword
    형식: System. . :: . .String
    A String value that specifies the password that was used to encrypt the private key of the certificate.