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

SymmetricKey.Create Method (SymmetricKeyEncryption, String, String, CreateDispositionType)

Creates a symmetric key on the database with the specified encryption type and method.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public void Create(
	SymmetricKeyEncryption keyEncryption,
	string providerAlgorithm,
	string providerKeyName,
	CreateDispositionType createDispositionType
)

Parameters

keyEncryption
Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies the encryption type.
providerAlgorithm
Type: System.String
A String value that identifies the name of the Provider Algorithm.
providerKeyName
Type: System.String
A String value that identifies the name of the key as designated by the provider
createDispositionType
Type: Microsoft.SqlServer.Management.Smo.CreateDispositionType
The CreateDispositionType object specifies an existing or a new Extensible Key Management key.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.