ihuTagDeleteEx
You can use the ihuTagDeleteEx
function to permanently delete a tag by passing TRUE
as a parameter.
Prototype
ihuTagDeleteEx {
in long serverhandle,
in MSO Char * tagname,
BOOL DeletePermanent
};
Remarks
Use DeletePermanent
to create a new tag with a previously used name. The ihuTagDeleteEx
function uses the following parameters:
serverhandle
: The Historian server from which to fetch tagstagname
: Name of the tag to be deleted, which must be returned in a tag browseDeletePermanent
: Permanently deletes a tag when set toTRUE
Note: After you permanently delete a tag, you can no longer query its data, and the tag name is available for reuse.
Returns
ihuSTATUS_OK
: SuccessihuSTATUS_INVALID_PARAMETER
: Invalid input parametersihuSTATUS_ACCESS_DENIED
: You do not have rights to delete tags
Note: You must be a member of the ihTag Admin security group to delete tags.