Certificate Constructor (Database, String)

 

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

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

public Certificate(
	Database database,
	string name
)

Parameters

database
Type: Microsoft.SqlServer.Management.Smo.Database

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

name
Type: System.String

A String value that specifies the name of the certificate.

Return to top
Show: