Export (0) Print
Expand All

AsymmetricKey.Create Method (String, AsymmetricKeySourceType)

Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Create(
	string keySource,
	AsymmetricKeySourceType sourceType
)

Parameters

keySource
Type: 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft