VCWizCtlClass.GetODBCConsumerClassDecl Method

Gets an ODBC Consumer class declaration.

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

Syntax

声明
Public Overridable Function GetODBCConsumerClassDecl ( _
    bBindAllColumns As Boolean, _
    bSnapshot As Boolean, _
    bstrClassName As String _
) As String
用法
Dim instance As VCWizCtlClass
Dim bBindAllColumns As Boolean
Dim bSnapshot As Boolean
Dim bstrClassName As String
Dim returnValue As String

returnValue = instance.GetODBCConsumerClassDecl(bBindAllColumns, _
    bSnapshot, bstrClassName)
public virtual string GetODBCConsumerClassDecl(
    bool bBindAllColumns,
    bool bSnapshot,
    string bstrClassName
)
public:
virtual String^ GetODBCConsumerClassDecl(
    [InAttribute] bool bBindAllColumns, 
    [InAttribute] bool bSnapshot, 
    [InAttribute] String^ bstrClassName
)
public function GetODBCConsumerClassDecl(
    bBindAllColumns : boolean, 
    bSnapshot : boolean, 
    bstrClassName : String
) : String

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.

Implements

IVCWizCtlUI.GetODBCConsumerClassDecl(Boolean, Boolean, String)

Remarks

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

Permissions

See Also

Reference

VCWizCtlClass Class

VCWizCtlClass Members

Microsoft.VisualStudio.VsWizard Namespace