ArcGIS Runtime SDK for WPF - Library Reference
LocalGeoprocessingService Constructor(String,GPServiceType,Int32)
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalGeoprocessingService Class > LocalGeoprocessingService Constructor : LocalGeoprocessingService Constructor(String,GPServiceType,Int32)

path
A System.String representing the path to a geoprocessing package.
serviceType
A GPServiceType representing the service type.
maxRecords
A System.Int32 representing the maximum number of records the service can return.
Initializes a new instance of the LocalGeoprocessingService class based on the provided path to a geoprocessing package and service type.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal path As String, _
   ByVal serviceType As GPServiceType, _
   ByVal maxRecords As Integer _
)
C# 
public LocalGeoprocessingService( 
   string path,
   GPServiceType serviceType,
   int maxRecords
)

Remarks

Parameters

path
A System.String representing the path to a geoprocessing package.
serviceType
A GPServiceType representing the service type.
maxRecords
A System.Int32 representing the maximum number of records the service can return.

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.