Export (0) Print
Expand All

SymmetricKeyEncryption Class

The SymmetricKeyEncryption class represents the encryption type used when encrypting symmetric keys.

System.Object
  Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption

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

public class SymmetricKeyEncryption

The SymmetricKeyEncryption type exposes the following members.

  NameDescription
Public methodSymmetricKeyEncryption()Initializes a new instance of the SymmetricKeyEncryption class.
Public methodSymmetricKeyEncryption(KeyEncryptionType, String)Initializes a new instance of the SymmetricKeyEncryption class with the specified encryption type and with the specified value.
Top

  NameDescription
Public propertyObjectNameOrPasswordGets or sets the object name or the password associated with the symmetric key encryption.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public fieldKeyEncryptionTypeGets or sets the key encryption type.
Top

To get SymmetricKeyEncryption object properties, users can be a member of the public fixed server role.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft