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

Description

Gets a name of the file to connect.

Syntax

connectionInstance.DataSource

Arguments

None

Return value

ClassDescription
stringA name of the file to connect.

Sample code

1:

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

2:

string ds = cnn.DataSource; // somedatabase

Notes

The extension is not included.

Links for reference

None.

Copyright © Rice All rights reserved.