Creates a command for the storage. The current transaction and connection
is set automatically.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Public Function CreateCommand( _
ByVal query As IQuery _
) As IDbCommand |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SqlRawStorageAccess
Dim query As IQuery
Dim value As IDbCommand
value = instance.CreateCommand(query)
|
| Managed Extensions for C++ | |
|---|
public: IDbCommand CreateCommand(
IQuery* query
) |
| C++/CLI | |
|---|
public:
IDbCommand CreateCommand(
IQuery^ query
) |
Parameters
- query
- The query that is transformed to a command.
Return Value
A command object that may be executed on the storage.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also