DataSourceConnection Class TIBCO Spotfire 7.6 API Reference
Represents an open connection to a data source.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDataSourceConnection

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 abstract class DataSourceConnection : IDisposable

The DataSourceConnection type exposes the following members.

Constructors

  NameDescription
Protected methodDataSourceConnection
Initializes a new instance of the DataSourceConnection class.
Top
Methods

  NameDescription
Public methodClose
Synonym for Dispose.
Public methodStatic memberCreateConnection Obsolete.
Creates a default DataSourceConnection instance.
Public methodStatic memberCreateConnection2(DataSource, QueryExecutor2, IServiceProvider)
Creates a default DataSourceConnection instance.
Public methodStatic memberCreateConnection2(DataSource, QueryExecutor2, IServiceProvider, IEnumerableObject)
Creates a default DataSourceConnection instance.
Public methodDispose
Disposes of the connection.
Protected methodDispose(Boolean)
Disposes of the connection.
Public methodExecuteQuery Obsolete.
Executes the query with the current data source settings and returns the resulting DataReader.
Public methodExecuteQuery2
Executes the query with the current data source settings and returns the resulting DataRowReader.
Protected methodExecuteQueryCore Obsolete.
Executes the query with the current data source settings and returns the resulting DataReader.
Protected methodExecuteQueryCore2
Executes the query with the current data source settings and returns the resulting DataRowReader.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetPromptModels
Get an enumeration of the prompt models that should be used for prompting.
Protected methodGetPromptModelsCore
This method is used to provide the prompt models that should be used for the data source.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyConnectedUserName
Gets or sets the name of the connected user.
Public propertyDataSource
Gets the data source.
Public propertyDocumentTitle
Gets a document title for the data returned from this data source with the current configuration.
Public propertyHasUserDependentData
Gets or sets a value indicating whether the data depends on the current user or not.
Public propertyIsLinkable
Gets a value indicating whether this instance supports linked data mode.
Public propertyServiceProvider
Gets access to services.
Top
Version Information

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

Reference