ICertificateFactory.CreateCertificate(IDatabase, String) ICertificateFactory.CreateCertificate(IDatabase, String) ICertificateFactory.CreateCertificate(IDatabase, String) Method

Definition

Creates an IMutableCertificate object that belongs to the specified IDatabase object and has the specified name.

public:
 Microsoft::SqlServer::Management::SqlParser::Metadata::IMutableCertificate ^ CreateCertificate(Microsoft::SqlServer::Management::SqlParser::Metadata::IDatabase ^ database, System::String ^ name);
public Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableCertificate CreateCertificate (Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase database, string name);
Public Function CreateCertificate (database As IDatabase, name As String) As IMutableCertificate
Parameters
database
IDatabase IDatabase IDatabase

The IDatabase object that is the parent of the certificate.

name
String String String

The name of the certificate.

Returns

Applies to