Executes a command on the storage that does not expect any results.
Syntax
| Visual Basic (Declaration) | |
|---|
Overrides Public Function ExecuteCommand( _
ByVal query As IQuery _
) As Object |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SqlStorageBase
Dim query As IQuery
Dim value As Object
value = instance.ExecuteCommand(query)
|
| C# | |
|---|
public override object ExecuteCommand(
IQuery query
) |
| Managed Extensions for C++ | |
|---|
public: Object* ExecuteCommand(
IQuery* query
) override |
| C++/CLI | |
|---|
public:
Object^ ExecuteCommand(
IQuery^ query
) override |
Parameters
- query
- IQuery that is compiled and executed on the
storage.
Return Value
An object that represents the value of the %field or null.
Exceptions
| Exception | Description |
| ArgumentNullException | Query is null. |
Remarks
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also