GetServerProperty

This function returns the value of a server property.

Function

string GetServerProperty(propertyName: string)

Parameters

  • propertyName (string): the name of the property to get.

Return Value

Returns the property (which is always a string), or an empty string if it could not be found.

Remarks

The properties are:

  • ProjectName: name of project on server side
  • ProjectGuid: global unique ID of project on server side
  • ProtocolVersion: protocol version.
  • StateVersion: state version.

Example

Gets the project GUID.

let value = SYM3.GetServerProperty("ProjectGuid");
console.log(value);