Home Notices Documents Classes Download Others Rice
Classes  >  connection  >  Release()
connection class : Release() method

Description

Releases the unmanaged resources that are used in the connection.

Syntax

connectionInstance.Release()

Arguments

None.

Return value

None.

Sample code

1:

connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;");

2:

cnn.Open();

3:

... // Access to the database.

4:

cnn.Close();

5:

cnn.Release();

Notes

The instance that called the Release() method is returned to the uninitialized state.

Links for reference

None.

Copyright © Rice All rights reserved.