Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Creates a certificate on the database with the specified certificate source type.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
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
)
Parámetros
- 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.
Notas
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Add a Certificate in Visual Basic .NET
Seguridad para subprocesos
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.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
Certificate Class
Certificate Members
Microsoft.SqlServer.Management.Smo Namespace