connection class : ConnectionString getter

Description

Returns the connection string.

Syntax

instance.ConnectionString

Arguments

None.

Return value

ClassDescription
stringConnection string.

Sample code

1:

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

2:

string cs = cnn.ConnectionString; // "Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;"

Notes

None.

Links for reference

None.

Copyright © Cooker All rights reserved.