AI Object
 
Syntax
 
strValue = AI.SiteId
 
Type
String
Access
read-only
Description
Returns the site identifier (license code) that identifies the Tradium installation to the central TradiumServices server. The value is initialized once during host application startup through the Configure interface, derived from the active license registration, and remains constant for the lifetime of the AI object.
 
Use this property for logging, diagnostics, or to verify that the AI subsystem is bound to the expected installation before performing critical operations.
 
See Also
Example
 
Sub Main
   Debug.Print "AI bound to site: "; AI.SiteId
   If Len(AI.SiteId) = 0 Then
      MsgBox "AI subsystem not configured.", vbCritical
      Exit Sub
   End If
End Sub