SqlConnection::CreateCommand Method ()

 

Creates and returns a SqlCommand object associated with the SqlConnection.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
SqlCommand^ CreateCommand()

Return Value

Type: System.Data.SqlClient::SqlCommand^

A SqlCommand object.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: