GigaSpaces XAP.NET Documentation
Snapshot<(Of <(T>)>) Method (template)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxySnapshot<(Of <(T>)>)(IQuery<(Of <(T>)>))
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 BasicVisual 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
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of template.
Parameters
template (IQuery<(Of <(T>)>))
template to prepare.
Return Value
A handle to the prepared template.
Exceptions
ExceptionCondition
SpaceExceptionCommunication error occured.
InactiveSpaceExceptionThe space is in backup mode and therefore is not active.
SqlQueryExceptionThe query template is an illegal SqlQuery.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.2.0.0 (12.2.0.18000)