Certificate.Create Method (String, CertificateSourceType)

 

Creates a certificate on the database that has the specified certificate source type.

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

public void Create(
	string certificateSource,
	CertificateSourceType sourceType
)

Parameters

certificateSource
Type: System.String

A String value that specifies the source of the certificate.

sourceType
Type: Microsoft.SqlServer.Management.Smo.CertificateSourceType

An CertificateSourceType object value that specifies the certificate source type.

Return to top
Show: