Partager via


SymmetricKeyEncryption Constructor (KeyEncryptionType, String)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

How to: Construct an Object in Visual Basic .NET

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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