DataProviderGetBasicProviderValues Method |
Generates a collection of parameter values based on the provided host, port, and database information.
Namespace:
Dundas.BI.Data.DataProviders
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxprotected static ParameterValueCollection GetBasicProviderValues(
string host,
string? port,
string? database,
IReadOnlyList<ProviderProperty> providerProperties
)
Protected Shared Function GetBasicProviderValues (
host As String,
port As String,
database As String,
providerProperties As IReadOnlyList(Of ProviderProperty)
) As ParameterValueCollection
protected:
static ParameterValueCollection^ GetBasicProviderValues(
String^ host,
String^ port,
String^ database,
IReadOnlyList<ProviderProperty^>^ providerProperties
)
static member GetBasicProviderValues :
host : string *
port : string *
database : string *
providerProperties : IReadOnlyList<ProviderProperty> -> ParameterValueCollection
Parameters
- host
- Type: SystemString
The hostname or IP address of the database server. If a port is provided but no port property exists, the
port is appended to the host. - port
- Type: SystemString
The port number of the database server. This value is used only if a port property is defined and its data
type is numeric. - database
- Type: SystemString
The name of the database. This value is added to the collection if a database property is defined and the
value is not null or whitespace. - providerProperties
- Type: System.Collections.GenericIReadOnlyListProviderProperty
A list of ProviderProperty to use instead of the the provider defaults.
Return Value
Type:
ParameterValueCollectionA
ParameterValueCollection containing the parameter values for the host, port, and database.
The collection includes only the parameters for which corresponding property descriptors are defined.
RemarksThis method maps the provided host, port, and database values to their respective
property descriptors based on the
JdbcConnectionStringComponent values of the descriptors. If
no matching property descriptor is found for a parameter, that parameter is not included in the returned
collection.
See Also