ESRI.ArcGIS.ADF.Connection.Local
IsGPServer Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class : IsGPServer Method




service
The name of the server object.
Indicates whether the specified server object is a geoprocessing server.

Syntax

Visual Basic (Declaration) 
Public Function IsGPServer( _
   ByVal service As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim service As String
Dim value As Boolean
 
value = instance.IsGPServer(service)
C# 
public bool IsGPServer( 
   string service
)

Parameters

service
The name of the server object.

Return Value

True if server object is a geoprocessing server. False if it is not.

Remarks

Please note that a service name can be shared by more than one type of server. For example, a GP service and a map service can be named the same.

See Also

© 2010 All Rights Reserved.