Certificate.Create Certificate.Create Certificate.Create Method

Definition

Overloads

Create(String, CertificateSourceType, String, String) Create(String, CertificateSourceType, String, String) 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) Create(String, CertificateSourceType) 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) Create(String, CertificateSourceType, String, String, String) 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() Create() Create()

Creates the object on the server.

Create(String) Create(String) 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) Create(String, CertificateSourceType, String, String) 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 String String
privateKeyPath
String String String
privateKeyDecryptionPassword
String String String

Create(String, CertificateSourceType) Create(String, CertificateSourceType) 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 String String

Create(String, CertificateSourceType, String, String, String) Create(String, CertificateSourceType, String, String, String) 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 String String
privateKeyPath
String String String
privateKeyDecryptionPassword
String String String
privateKeyEncryptionPassword
String String String

Create() Create() Create()

Creates the object on the server.

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

Implements

Create(String) Create(String) 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 String String

Applies to