Function Database.attachedFilePath
Gets the path associated with an attached database.
string attachedFilePath
(
string database = "main"
);
Parameters
Name | Description |
---|---|
database | The name of an attached database. |
Returns
The absolute path of the attached database. If there is no attached database, or if database is a temporary or in-memory database, then null is returned.