Partager via


Create méthode (String, CertificateSourceType)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Create ( _
    certificateSource As String, _
    sourceType As CertificateSourceType _
)
'Utilisation
Dim instance As Certificate
Dim certificateSource As String
Dim sourceType As CertificateSourceType

instance.Create(certificateSource, sourceType)
public void Create(
    string certificateSource,
    CertificateSourceType sourceType
)
public:
void Create(
    String^ certificateSource, 
    CertificateSourceType sourceType
)
member Create : 
        certificateSource:string * 
        sourceType:CertificateSourceType -> unit 
public function Create(
    certificateSource : String, 
    sourceType : CertificateSourceType
)

Paramètres