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 | |
---|---|---|
SymmetricKeyEncryption() | Initializes a new instance of the SymmetricKeyEncryption class. | |
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 | |
---|---|---|
ObjectNameOrPassword | Gets or sets the object name or the password associated with the symmetric key encryption. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
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.