Advanced.Data.Provider Documentation

AdpCommand Constructor (String, String)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the AdpCommand class with the text of the query and a string connection.

[Visual Basic]
Overloads Public Sub New( _
   ByVal cmdText As String, _
   ByVal connectionString As String _
)
[C#]
public AdpCommand(
   string cmdText,
   string connectionString
);

Parameters

cmdText
A Transact-SQL statement or stored procedure name to execute.
connectionString
A connection string to create a AdpConnection object.

See Also

AdpCommand Class | Advanced.Data.Provider Namespace | AdpCommand Constructor Overload List