SqlEnclaveSession Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates the state of a secure session between SqlClient and an enclave inside SQL Server, which can be used for computations on encrypted columns protected with Always Encrypted.
For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.
public ref class SqlEnclaveSession
public class SqlEnclaveSession
type SqlEnclaveSession = class
Public Class SqlEnclaveSession
- Inheritance
-
SqlEnclaveSession
Constructors
| Name | Description |
|---|---|
| SqlEnclaveSession(Byte[], Int64) |
Instantiates a new instance of the SqlEnclaveSession class. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Properties
| Name | Description |
|---|---|
| SessionId |
Gets the session ID. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetSessionKey() |
Gets the symmetric key that SqlClient uses to encrypt all the information it sends to the enclave using the session. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |