Hi,
We have several automation scripts that log to external log files, with each cluster logging to different paths.
Currently I have it as a manual variable to define the DMS, for when the automation script is uploaded, but it would take out a human error point if we could get something like the DMS name to run a switch so the path is defined automatically.
Is there a class that can return a cluster unique identifier of some sort to implement this?
Just to be awkward I've gone with the DmsConfiguration message to return the cluster name
var message = new GetInfoMessage(-1, InfoType.DmsConfiguration);
var response = (GetDmsConfigurationResponseMessage)engine.SendSLNetSingleResponseMessage(message);
var clusterName = response.ClusterName;