Récapitulatif
Converts a map to a map service definition (.msd) file.
Discussion
Starting at ArcGIS 10.1 for Server, Map Server Definition (.msd) files have been replaced with Service Definition Draft (.sddraft) and Service Definition (.sd) files. See the following help topic for more information: What to expect when migrating to ArcGIS for Server.
Consider using the CreateMapSDDraft function instead.
Syntaxe
ConvertToMSD (map_document, out_msd, {data_frame}, {msd_anti_aliasing}, {msd_text_anti_aliasing})
Paramètre | Explication | Type de données |
map_document | A variable that references a MapDocument object. | MapDocument |
out_msd | A string that represents the path and file name for the output MSD file. | String |
data_frame | A variable that references a DataFrame object. If more than one data frame exists, it is important to specify which data frame will be the active data frame for the published service. The default value is the active data frame. (La valeur par défaut est USE_ACTIVE_VIEW) | DataFrame |
msd_anti_aliasing | A string that sets antialiasing for nontext items within the saved MSD.
(La valeur par défaut est NONE) | String |
msd_text_anti_aliasing | A string that sets antialiasing for text items within the saved MSD.
(La valeur par défaut est NONE) | String |