ArcGIS Runtime SDK for WPF - Library Reference
GetService(String) Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalMapService Class > GetService Method : GetService(String) Method

path
A System.String representing the path or Url to the Map Package.
This method will either reuse an existing service for the supplied path or create a new service if one is not already running.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetService( _
   ByVal path As String _
) As LocalMapService
C# 
public static LocalMapService GetService( 
   string path
)

Parameters

path
A System.String representing the path or Url to the Map Package.

Return Value

An existing LocalMapService instance if one exists with the same properties in the LocalServer Services collection, otherwise a new LocalMapService instance.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.