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

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.1.0.0 (16.1.0)