Certificate.Create Method

Definition

Overloads

Create(String, CertificateSourceType, String, String)

Loads the certificate from the specified source, and private key from the specified file. The decryption password is the password that is needed to access the private key.

It has the same semantics as a Create() operation: adds it in the collection, change state

Create(String, CertificateSourceType)

Loads the certificate from the source specified.

It has the same semantics as a Create() operation: adds it in the collection, change state

Create(String, CertificateSourceType, String, String, String)

Loads the certificate from the specified source, and private key from the specified file. The decryption password is the password that is needed to access the private key. The encryption password specifies the password with which the private key will be encrypted.

It has the same semantics as a Create() operation: adds it in the collection, change state

Create()

Creates the object on the server.

Create(String)

Creates the object on the server. The encryption password is the password with which the private key is stored.

Create(String, CertificateSourceType, String, String)

Loads the certificate from the specified source, and private key from the specified file. The decryption password is the password that is needed to access the private key.

It has the same semantics as a Create() operation: adds it in the collection, change state

public void Create (string certificateSource, Microsoft.SqlServer.Management.Smo.CertificateSourceType sourceType, string privateKeyPath, string privateKeyDecryptionPassword);
member this.Create : string * Microsoft.SqlServer.Management.Smo.CertificateSourceType * string * string -> unit
Public Sub Create (certificateSource As String, sourceType As CertificateSourceType, privateKeyPath As String, privateKeyDecryptionPassword As String)

Parameters

certificateSource
String
privateKeyPath
String
privateKeyDecryptionPassword
String

Applies to

Create(String, CertificateSourceType)

Loads the certificate from the source specified.

It has the same semantics as a Create() operation: adds it in the collection, change state

public void Create (string certificateSource, Microsoft.SqlServer.Management.Smo.CertificateSourceType sourceType);
member this.Create : string * Microsoft.SqlServer.Management.Smo.CertificateSourceType -> unit
Public Sub Create (certificateSource As String, sourceType As CertificateSourceType)

Parameters

certificateSource
String

Applies to

Create(String, CertificateSourceType, String, String, String)

Loads the certificate from the specified source, and private key from the specified file. The decryption password is the password that is needed to access the private key. The encryption password specifies the password with which the private key will be encrypted.

It has the same semantics as a Create() operation: adds it in the collection, change state

public void Create (string certificateSource, Microsoft.SqlServer.Management.Smo.CertificateSourceType sourceType, string privateKeyPath, string privateKeyDecryptionPassword, string privateKeyEncryptionPassword);
member this.Create : string * Microsoft.SqlServer.Management.Smo.CertificateSourceType * string * string * string -> unit
Public Sub Create (certificateSource As String, sourceType As CertificateSourceType, privateKeyPath As String, privateKeyDecryptionPassword As String, privateKeyEncryptionPassword As String)

Parameters

certificateSource
String
privateKeyPath
String
privateKeyDecryptionPassword
String
privateKeyEncryptionPassword
String

Applies to

Create()

Creates the object on the server.

public void Create ();
abstract member Create : unit -> unit
override this.Create : unit -> unit
Public Sub Create ()

Implements

Applies to

Create(String)

Creates the object on the server. The encryption password is the password with which the private key is stored.

public void Create (string encryptionPassword);
member this.Create : string -> unit
Public Sub Create (encryptionPassword As String)

Parameters

encryptionPassword
String

Applies to