Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Sub Create ( _
certificateSource As String, _
sourceType As CertificateSourceType _
)
'Usage
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
)
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.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace