Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AsymmetricKey.Create Method (String, AsymmetricKeySourceType, String)

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 keySource,
	AsymmetricKeySourceType sourceType,
	string password
)

Parameters

keySource
Type: System.String
A String value that specifies the source from which to load the asymmetric key.
sourceType
Type: Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType
An AsymmetricKeySourceType object value that specifies the type of source from which to load the asymmetric key.
password
Type: System.String
A String value that specifies the password with which the key is encrypted.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.