Home News DOC Class DL Others Rice
Class  >  connection  >  ConnectionString
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 © Rice All rights reserved.