description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|---|
Learn more about: CDaoWorkspaceInfo Structure |
CDaoWorkspaceInfo Structure |
11/04/2016 |
|
|
a1f4b25e-f9c6-4196-b075-d1df99c54124 |
The CDaoWorkspaceInfo
structure contains information about a workspace defined for data access objects (DAO) database access.
struct CDaoWorkspaceInfo
{
CString m_strName; // Primary
CString m_strUserName; // Secondary
BOOL m_bIsolateODBCTrans; // All
};
m_strName
Uniquely names the workspace object. To retrieve the value of this property directly, call the querydef object's GetName member function. For more information, see the topic "Name Property" in DAO Help.
m_strUserName
A value that represents the owner of a workspace object. For related information, see the topic "UserName Property" in DAO Help.
m_bIsolateODBCTrans
A value that indicates whether multiple transactions that involve the same ODBC database are isolated. For more information, see CDaoWorkspace::SetIsolateODBCTrans. For related information, see the topic "IsolateODBCTrans Property" in DAO Help.
The workspace is an object of class CDaoWorkspace. The references to Primary, Secondary, and All above indicate how the information is returned by the GetWorkspaceInfo member function in class CDaoWorkspace
.
Information retrieved by the CDaoWorkspace::GetWorkspaceInfo member function is stored in a CDaoWorkspaceInfo
structure. CDaoWorkspaceInfo
also defines a Dump
member function in debug builds. You can use Dump
to dump the contents of a CDaoWorkspaceInfo
object.
Header: afxdao.h
Structures, Styles, Callbacks, and Message Maps
CDaoWorkspace Class