Create Método (String, CertificateSourceType)
Creates a certificate on the database that has the specified certificate source type.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Create ( _
certificateSource As String, _
sourceType As CertificateSourceType _
)
'Uso
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
)
Parámetros
- certificateSource
Tipo: System. . :: . .String
A String value that specifies the source of the certificate.
- sourceType
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .CertificateSourceType
An CertificateSourceType object value that specifies the certificate source type.
Vea también