Executes a command on the storage that does not expect any results. It the method
returns an argument it is used by the framework to set the
AutoNumber property of the persistent
object.
Syntax
| Visual Basic (Declaration) | |
|---|
Overridable Function ExecuteCommand( _
ByVal query As IQuery _
) As Object |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As IStorage
Dim query As IQuery
Dim value As Object
value = instance.ExecuteCommand(query)
|
| Managed Extensions for C++ | |
|---|
virtual Object* ExecuteCommand(
IQuery* query
) |
| C++/CLI | |
|---|
virtual Object^ ExecuteCommand(
IQuery^ query
) |
Parameters
- query
- IQuery that is compiled and executed on the storage.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also