DataSourceConnectWithDelayedPrompting Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public DataSourceConnection ConnectWithDelayedPrompting(
	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 caller of this method MUST retrieve the prompt models using the GetPromptModels() call on the connection and iterate over the entire collection of prompt models before the query is executed.

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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference