Certificate Certificate Certificate Constructors

Definition

Overloads

Certificate() Certificate() Certificate()

Initializes a new instance of the Certificate class.

Certificate(Database, String) Certificate(Database, String)

Initializes a new instance of the Certificate class on the specified server and that has the specified name.

Certificate() Certificate() Certificate()

Initializes a new instance of the Certificate class.

public:
 Certificate();
public Certificate ();
Public Sub New ()

Examples

Using Encryption

Remarks

The default constructor initializes any fields to their default values.

Certificate(Database, String) Certificate(Database, String)

Initializes a new instance of the Certificate class on the specified server and that has the specified name.

public:
 Certificate(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public Certificate (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

A Databaseobject that specifies the database on which to create the certificate.

name
String String String

A String value that specifies the name of the certificate.

Examples

Using Encryption

Applies to