TagsDBGetTagCount

This function gets a count of the project tags in the tags database.

Function Group Execution Windows Embedded Thin Client Mobile Access
TagsDBGetTagCount Tags Database Synchronous Supported (see “Notes” below) Not supported Not supported Not supported

Syntax

  TagsDBGetTagCount( numCountType )  
Web Studio Help ns tagsdb tagsdbgettagcount.xml d438716e113 TagsDBGetTagCount

numCountType
The type of count to be performed, identified by one of the following values:
Value Description
0 The total number of project tags in the tags database.
1 The number of project tags supported by the target system.
2 The number of project tags that may still be created before exceeding the number supported by the target system.
3 The total number of pre-defined system tags in the tags database.

Returned value

If this function is executed succesfully, then it returns the specified tag count. Otherwise, it returns one of the following possible values:
Value Description
-3 Wrong parameter type or inconsistent value.
-2 Invalid number of parameters.

Notes

This function can only be executed on the project server — it cannot be called by a Graphics Script, Screen Script, or Command animation running on a project client.

For more information about the Tags Database functions and examples of how to use them, see Edit the tags database during run time.

TagsDBGetTagCount