Export (0) Print
Expand All

AsymmetricKey.Create Method (String, String, CreateDispositionType, AsymmetricKeySourceType)

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)

public void Create(
	string providerAlgorithm,
	string providerKeyName,
	CreateDispositionType createDispositionType,
	AsymmetricKeySourceType sourceType
)

Parameters

providerAlgorithm
Type: String
A String that identifies the name of the Provider Algorithm
providerKeyName
Type: String
A String that identifies the name of the key as designated by the provider
createDispositionType
Type: Microsoft.SqlServer.Management.Smo.CreateDispositionType
A CreateDispositionType is an object used to specify an existing or a new Extensible Key Management key.
sourceType
Type: Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType
The AsymmetricKeySourceType enumeration contains values that specify the source of the certificate to be loaded.

Community Additions

ADD
Show:
© 2014 Microsoft