مشاركة عبر


SymmetricKeyEncryption Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class SymmetricKeyEncryption
'Usage
Dim instance As SymmetricKeyEncryption
public class SymmetricKeyEncryption
public ref class SymmetricKeyEncryption
type SymmetricKeyEncryption =  class end
public class SymmetricKeyEncryption

The SymmetricKeyEncryption type exposes the following members.

Constructors

  Name Description
Public method SymmetricKeyEncryption() Initializes a new instance of the SymmetricKeyEncryption class.
Public method SymmetricKeyEncryption(KeyEncryptionType, String) Initializes a new instance of the SymmetricKeyEncryption class with the specified encryption type and with the specified value.

Top

Properties

  Name Description
Public property ObjectNameOrPassword Gets or sets the object name or the password associated with the symmetric key encryption.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public field KeyEncryptionType Gets or sets the key encryption type.

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace