SqlEnclaveSession Class

Definition

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.

public ref class SqlEnclaveSession
public class SqlEnclaveSession
type SqlEnclaveSession = class
Public Class SqlEnclaveSession
Inheritance
SqlEnclaveSession

Constructors

SqlEnclaveSession(Byte[], Int64)

Instantiates a new instance of the SqlEnclaveSession class.

Properties

SessionId

Gets the session ID.

Methods

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.

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)

Applies to