connection class : DataSource getter
Description
Returns a file name to connect.
Syntax
instance.DataSource
Arguments
None.
Return value
Class | Description |
string | A file name. |
Sample code
1: | connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;"); |
2: | string ds = cnn.DataSource; // "somedatabase" |
Notes
Extension is not included in the return value.
Links for reference
None.