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) | |
|---|
Overrides Public Function ExecuteCommand( _
ByVal query As IQuery _
) As Object |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As MsSqlStorage
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.
Exceptions
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also