Removes all matching entries under the specified transaction from the space.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual 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 )
![](../icons/collapse_all.gif)
- template (Object)
- The template/query used for matching.
- tx (ITransaction)
- The transaction (if any) under which to work.
![](../icons/collapse_all.gif)
Number of removed entries.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ClearException | The operation had a failure. |