This method will either reuse an existing service for the supplied path or create a new service if one is not already running.
Syntax
Parameters
- path
- A System.String representing the path or Url of the Map Package.
- maxRecords
- A System.Int32 representing the maximum number of records to return in response to a query.
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