Class for all ADO.Net data providers.
Inheritance Hierarchy
Spotfire.Dxp.DataDataSource
Spotfire.Dxp.Data.ImportDatabaseDataSource
Namespace: Spotfire.Dxp.Data.Import
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(9, 0)] public sealed class DatabaseDataSource : DataSource
The DatabaseDataSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseDataSource |
Initializes a new instance of the DatabaseDataSource class.
| |
DatabaseDataSource(DatabaseDataSourceSettings) |
Initializes a new instance of the DatabaseDataSource class.
|
Properties
Name | Description | |
---|---|---|
IsPromptingAllowed |
Gets or sets a value indicating whether prompting is allowed is allowed for this data source instance.
(Inherited from DataSource.) | |
LoadReport | Gets the PartialDataLoadReport that can be used to
report errors during connection.
(Inherited from DataSource.) | |
Name | Gets the display name of the data source.
Same as the document title by default.
(Inherited from DataSource.) | |
ReuseSettingsWithoutPrompting | Gets or sets a value indicating whether settings should be reused without
prompting or not.
Determines if the data source should be opened in silent mode,
prompting the user only when necessary, or if the user should get a chance
to modify the settings even if they are valid.
(Inherited from DataSource.) | |
Settings |
Gets or sets the settings for this data source.
| |
TypeId | Gets the type identifier for the data source.
(Inherited from DataSource.) |
Methods
Name | Description | |
---|---|---|
Connect |
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.
(Inherited from DataSource.) | |
ConnectWithDelayedPrompting |
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.
(Inherited from DataSource.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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