SqlEnclaveSession(Byte[], Int64) Constructor
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.
Instantiates a new instance of the SqlEnclaveSession class.
public:
SqlEnclaveSession(cli::array <System::Byte> ^ sessionKey, long sessionId);
public SqlEnclaveSession (byte[] sessionKey, long sessionId);
new System.Data.SqlClient.SqlEnclaveSession : byte[] * int64 -> System.Data.SqlClient.SqlEnclaveSession
Public Sub New (sessionKey As Byte(), sessionId As Long)
Parameters
- sessionKey
- Byte[]
The symmetric key used to encrypt all the information sent using the session.
- sessionId
- Int64
The session ID.
Exceptions
sessionKey
is null
.
sessionKey
has zero length.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.