Hi,
Try this code:
BizTalkOperations operations = new BizTalkOperations();
MessageBoxServiceInstance msgBoxService =
operations.GetServiceInstance(Service.RootService.InstanceId);
string application = msgBoxService.Application;
Add error handling as needed.
Br,
Leo