Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
short GetWorkspaceCount( );
throw( CDaoException, CMemoryException );
Return Value
The number of open workspaces in the Workspaces collection.
Remarks
Call this member function to retrieve the number of DAO workspace objects in the database engine’s Workspaces collection. This count does not include any open workspaces not appended to the collection. GetWorkspaceCount is useful if you need to loop through all defined workspaces in the Workspaces collection. To obtain information about a given workspace in the collection, see GetWorkspaceInfo. Typical usage is to call GetWorkspaceCount for the number of open workspaces, then use that number as a loop index for repeated calls to GetWorkspaceInfo.
For more information about obtaining workspace information, see the article in Visual C++ Programmer's Guide.