EndQuery Method (TagQuery)
- Last UpdatedAug 21, 2026
- 1 minute read
Ends the tag query and releases the query context on the Historian server.
'Declaration
Public Function EndQuery( _
ByRef error As HistorianAccessError _
) As Boolean
'Usage
Dim instance As TagQuery
Dim error As HistorianAccessError
Dim value As Boolean
value = instance.EndQuery(error)
public bool EndQuery(
out HistorianAccessError error
)
public:
bool EndQuery(
[Out] HistorianAccessError^ error
)
Parameters
- error
- Contains the error information in case of failure.
Return Value
Returns True if the query ended successfully, or False otherwise.