Prepare the template for future operations on the proxy. Prepared templates are more
efficient since the data is already serialized in the space format.
Declaration Syntax
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 )
Generic Template Parameters
- T
- Type of template.
Parameters
- template (IQuery<(Of <(T>)>))
- template to prepare.
Return Value
A handle to the prepared template.
Exceptions
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. |