Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlCommand Constructor

Initializes a new instance of the SqlCommand class.

Name Description
SqlCommand () Initializes a new instance of the SqlCommand class.

Supported by the .NET Compact Framework.

SqlCommand (String) Initializes a new instance of the SqlCommand class with the text of the query.

Supported by the .NET Compact Framework.

SqlCommand (String, SqlConnection) Initializes a new instance of the SqlCommand class with the text of the query and a SqlConnection.

Supported by the .NET Compact Framework.

SqlCommand (String, SqlConnection, SqlTransaction) Initializes a new instance of the SqlCommand class with the text of the query, a SqlConnection, and the SqlTransaction.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft