SymmetricKey.OpenWithCertificate Method (String)
Opens the symmetric key with a certificate.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub OpenWithCertificate ( _
certificateName As String _
)
'Usage
Dim instance As SymmetricKey
Dim certificateName As String
instance.OpenWithCertificate(certificateName)
public void OpenWithCertificate(
string certificateName
)
public:
void OpenWithCertificate(
String^ certificateName
)
member OpenWithCertificate :
certificateName:string -> unit
public function OpenWithCertificate(
certificateName : String
)
Parameters
- certificateName
Type: System.String
A String value that specifies the certificate.