Udostępnij przez


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)

Syntax

'Deklaracja
Public Sub New ( _
    database As Database, _
    name As String _
)
public Certificate (
    Database database,
    string name
)
public:
Certificate (
    Database^ database, 
    String^ name
)
public Certificate (
    Database database, 
    String name
)
public function Certificate (
    database : Database, 
    name : String
)

Parameters

  • database
    A Databaseobject that specifies the database on which to create the certificate.
  • name
    A String value that specifies the name of the certificate.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.