Returns the type of site this site is.

Syntax

Smartsite SXML CopyCode image Copy Code
enum smidata.sitetype(string siteName)

Parameters

Name Data Type Description
siteName String Name of the Smi site as defined in the Smartsite.ManagementInformation.config file.

Return Value

Data Type Description
Enum
Enum values:
  • Collect
    This site can collect data.
  • Report
    This site can generate reports.
  • CollectAndReport
    This site can collect data and generate reports.
  • RemoteReport
    This site can generate reports but the reports do not belong to this site.

Expand image Example

SXML