Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Creates a certificate on the database with the specified certificate source type.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Sub Create ( _
certificateSource As String, _
sourceType As CertificateSourceType, _
privateKeyPath As String, _
privateKeyDecryptionPassword As String _
)
public void Create (
string certificateSource,
CertificateSourceType sourceType,
string privateKeyPath,
string privateKeyDecryptionPassword
)
public:
void Create (
String^ certificateSource,
CertificateSourceType sourceType,
String^ privateKeyPath,
String^ privateKeyDecryptionPassword
)
public void Create (
String certificateSource,
CertificateSourceType sourceType,
String privateKeyPath,
String privateKeyDecryptionPassword
)
public function Create (
certificateSource : String,
sourceType : CertificateSourceType,
privateKeyPath : String,
privateKeyDecryptionPassword : String
)
Paramètres
- certificateSource
A String value that specifies the source of the certificate.
- sourceType
An CertificateSourceType object value that specifies the certificate source type.
- privateKeyPath
A String value that specifies the system path for the private key.
- privateKeyDecryptionPassword
A String value that specifies the password used for decryption of the private key.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Exemple
How to: Add a Certificate in Visual Basic .NET
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
Certificate Class
Certificate Members
Microsoft.SqlServer.Management.Smo Namespace