Creates a command for the storage. The current transasction and connection
is set automatically.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Public Function CreateCommand( _
ByVal text As String _
) As IDbCommand |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SqlRawStorageAccess
Dim text As String
Dim value As IDbCommand
value = instance.CreateCommand(text)
|
| C# | |
|---|
public IDbCommand CreateCommand(
string text
) |
| Managed Extensions for C++ | |
|---|
public: IDbCommand CreateCommand(
string* text
) |
| C++/CLI | |
|---|
public:
IDbCommand CreateCommand(
String^ text
) |
Parameters
- text
- The text for 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