CDaoWorkspace::CDaoWorkspace

CDaoWorkspace( );

Remarks

Constructs a CDaoWorkspace object. After constructing the C++ object, you have two options:

See the class overview for CDaoWorkspace for information about when you need to explicitly create a CDaoWorkspace object. Usually, you use workspaces created implicitly when you open a CDaoDatabase object without specifying a workspace or when you open a CDaoRecordset object without specifying a database object. MFC DAO objects created in this way use DAO’s default workspace, which is created once and reused.

To release a workspace and its contained objects, call the workspace object’s Close member function.

For more information about workspaces, see the article DAO Workspace. For more information about implicit workspace creation, see the article DAO: Accessing Implicit MFC DAO Objects. Both articles are in Visual C++ Programmer's Guide.

CDaoWorkspace OverviewClass MembersHierarchy Chart