IQdvEnvironment.GetLatestDatabaseInDirectory Method

For dated databases, returns the most recent database matching the passed database in the folder.
Function GetLatestDatabaseInDirectory( _ 
ByVal FullPathToDatabase As String
) As String
This language is not supported or no code example is available.
string GetLatestDatabaseInDirectory( 
string FullPathToDatabase 
)
This language is not supported or no code example is available.

Parameters

FullPathToDatabase
string

The full path to a dated database. E.g.: C:\My Folder\ABB [2016.01.01 - 0000003].qdb.

Return Value

string

A string containing the full path to the most recent database in the folder which matches with the passed database.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
Can be used only with dated databases which are databases whose file name ends with [YYYY.MM.DD VVVVVVV].qdb.
Version
 
Available since QDV 7.13.482.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition