Freigeben über


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 _
)
public SymmetricKeyEncryption (
    KeyEncryptionType encryptionType,
    string value
)
public:
SymmetricKeyEncryption (
    KeyEncryptionType encryptionType, 
    String^ value
)
public SymmetricKeyEncryption (
    KeyEncryptionType encryptionType, 
    String value
)
public function SymmetricKeyEncryption (
    encryptionType : KeyEncryptionType, 
    value : String
)

Parameter

  • encryptionType
    An KeyEncryptionType object value that specifies the key encryption type.
  • value
    A String value that specifies the value of the key encryption.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

How to: Construct an Object in Visual Basic .NET

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

SymmetricKeyEncryption Class
SymmetricKeyEncryption Members
Microsoft.SqlServer.Management.Smo Namespace