共用方式為


CDaoQueryDef::GetName

Call this member function to retrieve the name of the query represented by the querydef.

CString GetName( );

Return Value

The name of the query.

Remarks

Querydef names are unique user-defined names. For more information about querydef names, see the topic "Name Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoQueryDef Class

CDaoQueryDef Members

Hierarchy Chart

CDaoQueryDef::SetName

CDaoQueryDef::GetSQL

CDaoQueryDef::GetReturnsRecords

CDaoQueryDef::GetODBCTimeout