Creates a command for the storage. The specified connection is set
as connection of the command.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Public Function CreateCommand( _
ByVal connection As IDbConnection _
) As IDbCommand |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SqlRawStorageAccess
Dim connection As IDbConnection
Dim value As IDbCommand
value = instance.CreateCommand(connection)
|
| C# | |
|---|
public IDbCommand CreateCommand(
IDbConnection connection
) |
| Managed Extensions for C++ | |
|---|
public: IDbCommand CreateCommand(
IDbConnection connection
) |
| C++/CLI | |
|---|
public:
IDbCommand CreateCommand(
IDbConnection connection
) |
Parameters
- connection
- The connection that is associated with the 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