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: 51.0.16121.3915 (51.0.16121.3915)
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: DataSourceConnectionA new DataSourceConnection instance.
Remarks
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also