SQLiteDatabaseConnectionTryGetFileName Method |
Returns the filename associated with the database if available.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public bool TryGetFileName(
string database,
out string filename
)
member TryGetFileName :
database : string *
filename : string byref -> bool
Parameters
- database
- Type: SystemString
The database name. The main database file has the name "main". - filename
- Type: SystemString
When this method returns, contains the filename if there is an
attached database that is not temporary or in memory. Otherwise null.
This parameter is passed uninitialized.
Return Value
Type:
Boolean if the database has a filename, otherwise
.
See Also