I have two server where orchestration can run.I need to know the server name where my orchestration instance has run .How to get this information.

有帮助吗?

解决方案

Well...why? If you have the Orchestration's Host mapped to more then on server, there is no reliable or supported way to influence that.

However, you can use any standard .Net technique to get the local computer name. For example:

System.Environment.MachineName

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top