Upraviť

Zdieľať cez


BaseDataEnvironment.getDataMember(String, Guid) Method

Definition

Invokes a method based on an ADODB.Command object.

public:
 virtual System::Object ^ getDataMember(System::String ^ strDataMember, Guid % Id) = msdatasrc::DataSource::getDataMember;
public virtual object getDataMember (string strDataMember, ref Guid Id);
abstract member getDataMember : string * Guid -> obj
override this.getDataMember : string * Guid -> obj
Public Overridable Function getDataMember (strDataMember As String, ByRef Id As Guid) As Object

Parameters

strDataMember
String

A String that contains an ADODB.Command object.

Id
Guid

A GUID representing an ADODB.Recordset object.

Returns

An Object that contains the ADODB.Command object.

Implements

msdatasrc.DataSource.getDataMember(System.String,System.Guid@)

Remarks

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