poIQueryRule GetType

Gets the type of the query rule.

Syntax

queryRule_handle GetType

Application

HyperView Tcl Query

Description

This command gets the type of the query rule.

Example

To get the type of the query rule:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle GetType
hwi CloseStack

Errors

This command returns HW_InvalidHandle, if the core object associated with the query rule handle does not exist anymore.