CreateCommand Method
Collapse the table of content
Expand the table of content

IDbConnection.CreateCommand Method ()

 

Creates and returns a Command object associated with the connection.

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

IDbCommand CreateCommand()

Return Value

Type: System.Data.IDbCommand

A Command object associated with the connection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft