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_INSTANCE in a disposable object. The instance must be closed last and closing the instance releases all other resources for the instance.
The Instance type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
Instance(String) | Initializes a new instance of the Instance class. The underlying JET_INSTANCE is allocated, but not initialized. |
![]() |
Instance(String, String) | Initializes a new instance of the Instance class. The underlying JET_INSTANCE is allocated, but not initialized. |
![]() |
Instance(String, String, TermGrbit) | Initializes a new instance of the Instance class. The underlying JET_INSTANCE is allocated, but not initialized. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
IsClosed | (Inherited from SafeHandle.) |
![]() |
IsInvalid | (Inherited from SafeHandleZeroOrMinusOneIsInvalid.) |
![]() |
JetInstance | Gets the JET_INSTANCE that this instance contains. |
![]() |
Parameters | Gets the InstanceParameters for this instance. |
![]() |
TermGrbit | Gets or sets the TermGrbit for this instance. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Close | (Inherited from SafeHandle.) |
![]() |
DangerousAddRef | (Inherited from SafeHandle.) |
![]() |
DangerousGetHandle | (Inherited from SafeHandle.) |
![]() |
DangerousRelease | (Inherited from SafeHandle.) |
![]() |
Dispose() | (Inherited from SafeHandle.) |
![]() |
Dispose(Boolean) | (Inherited from SafeHandle.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from SafeHandle.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Init() | Initialize the JET_INSTANCE. |
![]() |
Init(InitGrbit) | Initialize the JET_INSTANCE. |
![]() |
Init(JET_RSTINFO, InitGrbit) | Initialize the JET_INSTANCE. This API requires at least the Vista version of ESENT. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ReleaseHandle | Release the handle for this instance. (Overrides SafeHandle.ReleaseHandle().) |
![]() |
SetHandle | (Inherited from SafeHandle.) |
![]() |
SetHandleAsInvalid | (Inherited from SafeHandle.) |
![]() |
Term | Terminate the JET_INSTANCE. |
![]() |
ToString | Returns a String that represents the current Instance. (Overrides Object.ToString().) |
Top
Operators
| Name | Description | |
|---|---|---|
![]() ![]() |
Implicit(Instance to JET_INSTANCE) | Provide implicit conversion of an Instance object to a JET_INSTANCE structure. This is done so that an Instance can be used anywhere a JET_INSTANCE is required. |
Top
Fields
| Name | Description | |
|---|---|---|
![]() |
handle | (Inherited from SafeHandle.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)