SqlCommand Constructor
.NET Framework (current version)
Initializes a new instance of the SqlCommand class.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | SqlCommand() | Initializes a new instance of the SqlCommand class. |
![]() | SqlCommand(String^) | Initializes a new instance of the SqlCommand class with the text of the query. |
![]() | SqlCommand(String^, SqlConnection^) | Initializes a new instance of the SqlCommand class with the text of the query and a SqlConnection. |
![]() | SqlCommand(String^, SqlConnection^, SqlTransaction^) | Initializes a new instance of the SqlCommand class with the text of the query, a SqlConnection, and the SqlTransaction. |
![]() | SqlCommand(String^, SqlConnection^, SqlTransaction^, SqlCommandColumnEncryptionSetting) | Initializes a new instance of the SqlCommand class with specified command text, connection, transaction, and encryption setting. |
Show:
