ESRI.ArcGIS.ADF.Connection
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.