VCWizCtlClass.GetODBCConsumerClassDecl Method
Gets an ODBC Consumer class declaration.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Public Overridable Function GetODBCConsumerClassDecl ( _
bBindAllColumns As Boolean, _
bSnapshot As Boolean, _
bstrClassName As String _
) As String
public virtual string GetODBCConsumerClassDecl(
bool bBindAllColumns,
bool bSnapshot,
string bstrClassName
)
public:
virtual String^ GetODBCConsumerClassDecl(
[InAttribute] bool bBindAllColumns,
[InAttribute] bool bSnapshot,
[InAttribute] String^ bstrClassName
)
abstract GetODBCConsumerClassDecl :
bBindAllColumns:bool *
bSnapshot:bool *
bstrClassName:string -> string
override GetODBCConsumerClassDecl :
bBindAllColumns:bool *
bSnapshot:bool *
bstrClassName:string -> string
public function GetODBCConsumerClassDecl(
bBindAllColumns : boolean,
bSnapshot : boolean,
bstrClassName : String
) : String
Parameters
bBindAllColumns
Type: System.BooleanOptional. True if all columns in the selected table are bound. False if no columns are bound.
bSnapshot
Type: System.BooleanOptional. True if the recordset is a snapshot. False if the recordset is a dynaset.
bstrClassName
Type: System.StringRequired. A string containing the ODBC class name.
Return Value
Type: System.String
A string containing the ODBC consumer class declaration.
Implements
IVCWizCtlUI.GetODBCConsumerClassDecl(Boolean, Boolean, String)
Remarks
DB_CONNECTION_STRING, DB_TABLES_COUNT, and DB_TABLE must be set through the Set Symbol api.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.