Home Notices Documents Classes Download Others Rice
Classes  >  connection  >  ConnectionString
connection class : ConnectionString getter

Description

Gets the connection string.

Syntax

connectionInstance.ConnectionString

Arguments

None

Return value

ClassDescription
stringThe connection 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.