Skip to main content

SqlDataConnection Constructors

A connection to a SqlDataSource.
Name Parameters Description
SqlDataConnection() none Initializes a new instance of the SqlDataConnection class with the default settings.
SqlDataConnection(SqlDataSource, IDataStore) sqlDataSource, dataStore
SqlDataConnection(SqlDataSource, String, DataConnectionParametersBase) sqlDataSource, name, connectionParameters Initializes a new instance of the SqlDataConnection class with the specified settings.
SqlDataConnection(IDataStore) dataStore
SqlDataConnection(String, DataConnectionParametersBase) name, connectionParameters Initializes a new instance of the SqlDataConnection class with the specified connection name and parameters.
See Also