poIQueryRule GetLabel

Gets the label from the query rule.

Syntax

queryRule_handle GetLabel

Application

HyperView Tcl Query

Description

This command gets the label from the query rule.

Example

To get the label from the query rule:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule mindist]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetLabel distanceRule
rule_handle GetLabel
hwi CloseStack

Errors

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