Home News DOC Class DL Others Rice
Class  >  connection  >  DataSource
connection class : DataSource getter

Description

Returns a file name to connect.

Syntax

instance.DataSource

Arguments

None.

Return value

ClassDescription
stringA 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.

Copyright © Rice All rights reserved.