Prepare the template for future operations on the proxy. Prepared templates are more
efficient since the data is already serialized in the space format.
| C# | Visual Basic | Visual C++ | J# |
IPreparedTemplate<T> Snapshot<T>( IQuery<T> template )
Function Snapshot(Of T) ( _ template As IQuery(Of T) _ ) As IPreparedTemplate(Of T)
generic<typename T> IPreparedTemplate<T>^ Snapshot( IQuery<T>^ template )
- T
[Missing <typeparam name="T"/> documentation for "M:GigaSpaces.Core.IReadOnlySpaceProxy.Snapshot``1(GigaSpaces.Core.IQuery{``0})"]
- template (IQuery<(Of <(T>)>))
- template to prepare.
A handle to the prepared template.
| Exception | Condition |
|---|---|
| SpaceException | Communication error occured. |
| InactiveSpaceException | The space is in backup mode and therefore is not active. |
| SqlQueryException | The query template is an illegal SqlQuery. |
