I have an MXD that I would like to publish to an ArcGIS server using C# ArcObjects (preferably as an MSD). I have been unable to find anything regarding this. Essentially I would like to implement the following ArcPy code in ArcObjects:
arcpy.mapping.ConvertToMSD()
arcpy.mapping.PublishMSDToServer()
Any help would be appreciated! Thanks!
Best Answer
Unfortunately, there's no ArcObjects way to do this. You're going to need to do a mixed C#/Python solution to get what you're aiming for.