ihuTagRenameEx
You can use the ihuTagRenameEx
function to permanently rename a tag by passing TRUE
as a parameter.
Prototype
ihuTagRenameEx {
in long serverhandle,
in MSO Char * OldTagName,
in MSO Char * NewTagName,
BOOL TrueRename,
};
Remarks
You can permanently rename tags that you do not want to read and write with their previous names. 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 nameTrueRename
: Permanently renames a tag when set toTRUE
.
Returns
ihuSTATUS_OK
: SuccessihuSTATUS_INVALID_PARAMETER
: Invalid input parametersihuSTATUS_ACCESS_DENIED
: You do not have rights to rename tags
Note: You must be a member of the ihTag Admin security group to rename tags.