Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function GetServiceAsync( _ ByVal path As String, _ ByVal maxRecords As Integer, _ ByVal enableDynamicLayers As Boolean _ ) As Task(Of LocalMapService) |
C# | |
---|---|
public static Task<LocalMapService> GetServiceAsync( string path, int maxRecords, bool enableDynamicLayers ) |
Parameters
- path
- The or Url of the Map Package.
- maxRecords
- The maximum number of records to return in response to a query.
- enableDynamicLayers
- true if the Dynamic Layers capability is to be enabled; otherwise false
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8