SymmetricKeyEncryption Class
The SymmetricKeyEncryption class represents the encryption type used when encrypting symmetric keys.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| 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. |
| Name | Description | |
|---|---|---|
![]() | ObjectNameOrPassword | Gets or sets the object name or the password associated with the symmetric key encryption. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | KeyEncryptionType | Gets or sets the key encryption type. |
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.



