DataSource
The DataSource property returns or sets an index of the data connection that should be used. If a DataSource is not specified the language extension will use the first data connection that is configured as a WEB connection.
Group: Web Object
Syntax: vValue = oWeb.DataSource
Alternate: oWeb.DataSource = vValue
vValue (Variant) the number or name of the data connection object.
Example:
Dim oWeb As Web
Dim vConnID As Variant
oWeb.DataSource = 2
oWeb.DataSource = "MyWebServer"
vConnID = oWeb.DataSource