ihuTagRename
Use the ihuTagRename
function to rename tags.
Prototype
ihuTagRename {
in long serverhandle,
in MSO Char * OldTagName,
in MSO Char * NewTagName,
};
Remarks
This function uses the following parameters:
serverhandle
: The Historian 4.0 server from which to fetch tagsOldTagname
: Name of the tag to be renamedNewTagname
: New tag name
Note: When you use this function to update or modify tag names, the tag properties are not modified. If you modify a renamed tag property, be aware that all the tag properties for the alias are also updated.
Returns
ihuSTATUS_OK
: SuccessihuSTATUS_INVALID_PARAMETER
: Invalid input parametersihuSTATUS_ACCESS_DENIED
: You do not have rights to rename tags