DataSourceConnect Method TIBCO Spotfire 7.6 API Reference
Creates a DataSourceConnection, using the specified serviceProvider and the settings in this data source instance. If needed, and allowed by the current prompt mode, the user may be prompted for additional settings.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public DataSourceConnection Connect(
	IServiceProvider serviceProvider,
	DataSourcePromptMode promptMode
)

Parameters

serviceProvider
Type: SystemIServiceProvider
The service provider.
promptMode
Type: Spotfire.Dxp.DataDataSourcePromptMode
The prompt mode.

Return Value

Type: DataSourceConnection
A new DataSourceConnection instance.
Remarks

The internal state of this data source object is not changed by this call. The returned connection will include a cloned and updated copy of this data source.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference