BaseDataEnvironment Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Emulates a Visual Basic 6.0 Data Environment in applications that have been upgraded from Visual Basic 6.0.

Namespace:   Microsoft.VisualBasic.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.Compatibility.Data (in Microsoft.VisualBasic.Compatibility.Data.dll)

System.Object
  Microsoft.VisualBasic.Compatibility.VB6.BaseDataEnvironment

[ObsoleteAttribute("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public abstract class BaseDataEnvironment : DataSource, IDisposable

NameDescription
System_CAPS_protmethodBaseDataEnvironment()

Initializes a new instance of the BaseDataEnvironment class.

NameDescription
System_CAPS_pubpropertyCommands

Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

System_CAPS_pubpropertyCommands[Object]

Gets a collection of ADODB.Command objects for use in an application upgraded from Visual Basic 6.0.

System_CAPS_pubpropertyConnections

Gets a collection of ADODB.Connection objects for use in an application upgraded from Visual Basic 6.0.

System_CAPS_pubpropertyConnections[Object]

Gets a collection of ADODB.Connection objects for use in an application upgraded from Visual Basic 6.0.

System_CAPS_pubpropertyObject

Gets the BaseDataEnvironment object.

System_CAPS_pubpropertyRecordsets

Gets a collection of ADODB.Recordset objects for use in an application upgraded from Visual Basic 6.0.

System_CAPS_pubpropertyRecordsets[Object]

Gets a collection of ADODB.Recordset objects for use in an application upgraded from Visual Basic 6.0.

NameDescription
System_CAPS_pubmethodaddDataSourceListener(DataSourceListener)

This API supports the product infrastructure and is not intended to be used directly from your code. This method is not implemented in the BaseDataEnvironment class.

System_CAPS_pubmethodDispose()

Releases the unmanaged resources that are used by a BaseDataEnvironment.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by a BaseDataEnvironment, and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Overrides the Finalize method.(Overrides Object.Finalize().)

System_CAPS_pubmethodgetDataMember(String, Guid)

Invokes a method based on an ADODB.Command object.

System_CAPS_pubmethodGetDataMemberCount()

Gets a count of ADODB.Command objects.

System_CAPS_pubmethodGetDataMemberName(Int32)

This method is not implemented in the BaseDataEnvironment class.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodremoveDataSourceListener(DataSourceListener)

This API supports the product infrastructure and is not intended to be used directly from your code. This method is not implemented in the BaseDataEnvironment class.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_protfieldm_Commands

This API supports the product infrastructure and is not intended to be used directly from your code. Contains the Commands collection.

System_CAPS_protfieldm_Connections

Contains the Connections collection.

System_CAPS_protfieldm_NonRSReturningCommands

This API supports the product infrastructure and is not intended to be used directly from your code. Contains a collection.

System_CAPS_protfieldm_Recordsets

This API supports the product infrastructure and is not intended to be used directly from your code. Contains the Recordsets collection.

In Visual Basic 6.0, data-bound forms were automatically created when you dragged database elements from a Data Environment onto a form. The Data Environment handled all the mapping between Visual Basic 6.0 and the ADO data layer. When an application is upgraded to Visual Basic, a BaseDataEnvironment is created to enable the ADO-related code.

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: