SymmetricKeyEncryption Constructor (KeyEncryptionType, String)

Initializes a new instance of the SymmetricKeyEncryption class with the specified encryption type and with the specified value.

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

Syntax

'Declaration
Public Sub New ( _
    encryptionType As KeyEncryptionType, _
    value As String _
)
'Usage
Dim encryptionType As KeyEncryptionType
Dim value As String

Dim instance As New SymmetricKeyEncryption(encryptionType, _
    value)
public SymmetricKeyEncryption(
    KeyEncryptionType encryptionType,
    string value
)
public:
SymmetricKeyEncryption(
    KeyEncryptionType encryptionType, 
    String^ value
)
new : 
        encryptionType:KeyEncryptionType * 
        value:string -> SymmetricKeyEncryption
public function SymmetricKeyEncryption(
    encryptionType : KeyEncryptionType, 
    value : String
)

Parameters