Search code examples
biztalkbiztalk-2010biztalk-2009biztalk2006r2

How to get orchestration instance server name


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.


Solution

  • 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