Muokkaa

Jaa


BaseDataEnvironment.GetDataMemberCount Method

Definition

Gets a count of ADODB.Command objects.

public:
 virtual int GetDataMemberCount() = msdatasrc::DataSource::getDataMemberCount;
public virtual int GetDataMemberCount ();
abstract member GetDataMemberCount : unit -> int
override this.GetDataMemberCount : unit -> int
Public Overridable Function GetDataMemberCount () As Integer

Returns

An Integer that contains the count.

Remarks

Only ADODB.Command objects that do not return an ADODB.Recordset are counted.

When an application is upgraded to Visual Basic, a BaseDataEnvironment is created to enable the ADO-related code.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to