Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include protected members
Include inherited members
A class that encapsulates a JET_SESID in a disposable object.
The Session type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
Session | Initializes a new instance of the Session class. A new JET_SESSION is allocated from the given instance. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
HasResource | Gets a value indicating whether the underlying resource is currently allocated. (Inherited from EsentResource.) |
![]() |
JetSesid | Gets the JET_SESID that this session contains. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CheckObjectIsNotDisposed | Throw an exception if this object has been disposed. (Inherited from EsentResource.) |
![]() |
Dispose() | Dispose of this object, releasing the underlying Esent resource. (Inherited from EsentResource.) |
![]() |
Dispose(Boolean) | Called by Dispose and the finalizer. (Inherited from EsentResource.) |
![]() |
End | Terminate the session. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | Finalizes an instance of the EsentResource class. (Inherited from EsentResource.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ReleaseResource | Free the underlying JET_SESID. (Overrides EsentResource.ReleaseResource().) |
![]() |
ResourceWasAllocated | Called by a subclass when a resource is allocated. (Inherited from EsentResource.) |
![]() |
ResourceWasReleased | Called by a subclass when a resource is freed. (Inherited from EsentResource.) |
![]() |
ToString | Returns a String that represents the current Session. (Overrides Object.ToString().) |
Top
Operators
| Name | Description | |
|---|---|---|
![]() ![]() |
Implicit(Session to JET_SESID) | Implicit conversion operator from a Session to a JET_SESID. This allows a Session to be used with APIs which expect a JET_SESID. |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)