Executes the OQL Query on the cache server and returns
the results. The default timeout for the query is 15 secs.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
Syntax
| C# |
|---|
public ISelectResults Execute() |
| Visual Basic (Declaration) |
|---|
Public Function Execute As ISelectResults |
| Visual C++ |
|---|
public: ISelectResults^ Execute () |
Return Value
An ISelectResults object which can either be a StructSet or a StructSet.
Exceptions
| Exception | Condition |
|---|---|
| GemStone.GemFire.Cache..::QueryException | if some query error occurred at the server. |
| GemStone.GemFire.Cache..::IllegalStateException | if some other error occurred. |
| GemStone.GemFire.Cache..::NotConnectedException | if no java cache server is available |
See Also
Query Class
GemStone.GemFire.Cache Namespace