Dela via


Certificate.Create Method (String)

Creates a certificate based on a certificate encryption algorithm or based on a certificate source type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Create ( _
    encryptionPassword As String _
)
'Usage
Dim instance As Certificate
Dim encryptionPassword As String

instance.Create(encryptionPassword)
public void Create(
    string encryptionPassword
)
public:
void Create(
    String^ encryptionPassword
)
member Create : 
        encryptionPassword:string -> unit 
public function Create(
    encryptionPassword : String
)

Parameters

  • encryptionPassword
    Type: System.String
    A String value that specifies the encryption password.

Examples

Using Encryption