Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Create ( _
providerAlgorithm As String, _
providerKeyName As String, _
createDispositionType As CreateDispositionType, _
sourceType As AsymmetricKeySourceType _
)
'Usage
Dim instance As AsymmetricKey
Dim providerAlgorithm As String
Dim providerKeyName As String
Dim createDispositionType As CreateDispositionType
Dim sourceType As AsymmetricKeySourceType
instance.Create(providerAlgorithm, providerKeyName, _
createDispositionType, sourceType)
public void Create(
string providerAlgorithm,
string providerKeyName,
CreateDispositionType createDispositionType,
AsymmetricKeySourceType sourceType
)
public:
void Create(
String^ providerAlgorithm,
String^ providerKeyName,
CreateDispositionType createDispositionType,
AsymmetricKeySourceType sourceType
)
member Create :
providerAlgorithm:string *
providerKeyName:string *
createDispositionType:CreateDispositionType *
sourceType:AsymmetricKeySourceType -> unit
public function Create(
providerAlgorithm : String,
providerKeyName : String,
createDispositionType : CreateDispositionType,
sourceType : AsymmetricKeySourceType
)
Parameter
- providerAlgorithm
Typ: System.String
A String that identifies the name of the Provider Algorithm
- providerKeyName
Typ: System.String
A String that identifies the name of the key as designated by the provider
- createDispositionType
Typ: Microsoft.SqlServer.Management.Smo.CreateDispositionType
A CreateDispositionType is an object used to specify an existing or a new Extensible Key Management key.
- sourceType
Typ: Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType
The AsymmetricKeySourceType enumeration contains values that specify the source of the certificate to be loaded.
Beispiele
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace