VCWizCtlClass::GetODBCConsumerClassDecl Method (Boolean, Boolean, String^)

 

Gets an ODBC Consumer class declaration.

Namespace:   Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

public:
virtual String^ GetODBCConsumerClassDecl(
	bool bBindAllColumns = true,
	bool bSnapshot = false,
	String^ bstrClassName
)

Parameters

bBindAllColumns
Type: System::Boolean

Optional. True if all columns in the selected table are bound. False if no columns are bound.

bSnapshot
Type: System::Boolean

Optional. True if the recordset is a snapshot. False if the recordset is a dynaset.

bstrClassName
Type: System::String^

Required. A string containing the ODBC class name.

Return Value

Type: System::String^

A string containing the ODBC consumer class declaration.

DB_CONNECTION_STRING, DB_TABLES_COUNT, and DB_TABLE must be set through the Set Symbol api.

Return to top
Show: