Visual Basic (Declaration) | |
---|---|
Public Shared Function InitializeWithLocalService( _ ByVal identifyTask As IdentifyTask, _ ByVal path As String _ ) As LocalMapService |
C# | |
---|---|
public static LocalMapService InitializeWithLocalService( IdentifyTask identifyTask, string path ) |
This method will reuse an existing local map service if one exists with the same properties or start a new one if none are found on the runtime local server.
Parameters
- identifyTask
- The IdentifyTask to initialize.
- path
- A System.String representing the path to a Map Package from which the local map service will be started.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8