SetTag
Assigns the tag to table field.
Compatibility
Available as of IDEA version 12.0
Syntax
SetTag(tagId As String, fieldName As String)
Parameters
tagId
Tag ID (case insensitive).
fieldName
Name of table field (case insensitive).
Remarks
If no field with the given name exists, an exception is thrown.
The same tag can be assigned to multiple fields; multiple tags can be assigned to the same field.
In order to persist the method’s result, Save() method has to be called.
Example
Sub Main()
Dim ac As Object
Dim tagging As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
Set tagging = ac.GetTagging("Sample-Weblog")
Tagging.SetTag("CustomerCode", "SITE")
Tagging.SetTag("DebtorAmount", "DURATION")
Tagging.Save
End Sub