CDaoDatabase::GetVersion

CString GetVersion( );
throw( CDaoException, CMemoryException );

Return Value

A CString that indicates the version of the database file associated with the object.

Remarks

Call this member function to determine the version of the Microsoft Jet database file. The value returned represents the version number in the form “major.minor”; for example, “3.0”. The product version number (for example, 3.0) consists of the version number (3), a period, and the release number (0). The versions to date are 1.0, 1.1, 2.0, and 3.0.

For more information about database objects, see the article DAO Database in Visual C++ Programmer's Guide. For related information, see the topic "Version Property" in DAO Help.

CDaoDatabase OverviewClass MembersHierarchy Chart