Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

SqlServerDataSource Constructor (Nullable<(Of <(<'String>)>)>, String, Nullable<(Of <(<'SqlServerDataSourceSettings>)>)>)

Initializes a new instance of the SqlServerDataSource class.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)

Syntax


public SqlServerDataSource(
	Nullable<string> name,
	string connectionString,
	Nullable<SqlServerDataSourceSettings> settings
)
Public Sub New ( _
	name As Nullable(Of String), _
	connectionString As String, _
	settings As Nullable(Of SqlServerDataSourceSettings) _
)
public:
SqlServerDataSource(
	Nullable<String^> name, 
	String^ connectionString, 
	Nullable<SqlServerDataSourceSettings^> settings
)

Parameters

name
Type: Nullable<(Of <(<'String>)>)>
Name of the data source.
connectionString
Type: String
The connection string.
settings
Type: Nullable<(Of <(<'SqlServerDataSourceSettings>)>)>
Optional settings object.

Exceptions


ExceptionCondition
[ArgumentException]connectionString is null or empty.;connectionString