Removes all matching entries under the default transaction from the space.

C# | Visual Basic | Visual C++ | J# |
int Clear( Object template )
Function Clear ( _ template As Object _ ) As Integer
int Clear( Object^ template )
int Clear( Object template )

- template (Object)
- The template/query used for matching.

Number of removed entries.

Exception | Condition |
---|---|
ClearException | The operation had a failure. |