GigaSpaces XAP.NET Documentation
Clear Method (template, tx)
Class LibraryGigaSpaces.CoreISpaceProxyClear(Object, ITransaction)
Removes all matching entries under the specified transaction from the space.
Declaration Syntax
C#Visual BasicVisual C++J#
int Clear(
	Object template,
	ITransaction tx
)
Function Clear ( _
	template As Object, _
	tx As ITransaction _
) As Integer
int Clear(
	Object^ template, 
	ITransaction^ tx
)
int Clear(
	Object template,
	ITransaction tx
)
Parameters
template (Object)
The template/query used for matching.
tx (ITransaction)
The transaction (if any) under which to work.
Return Value
Number of removed entries.
Exceptions
ExceptionCondition
ClearExceptionThe operation had a failure.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 9.0.2.6900 (9.0.2.6900)