bool CloseHie(HieId tHie)
tHie. Moniker of the indicators hierarchy that must be closed.
The CloseHie operation closes a hierarchy of time series database indicators.
To execute the operation, specify hierarchy moniker in the tHie parameter. The moniker can be obtained on executing the OpenHie operation. The operation results in the logical True if the object was closed successfully.
Below is the example of closing time series database indicators hierarchy. The request contains hierarchy moniker. The response returns whether closing was successful.
{
"CloseHie" :
{
"tHie" :
{
"id" : "S1!M!S!H2"
}
}
}
{
"CloseHieResult" : "1"
}
public static bool CloseHierarhy(HieId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseHie()
{
tHie = moniker
};
//Close indicators hierarchy instance
var b = somClient.CloseHie(tClose);
return b;
}
See also: