ESRI.ArcGIS.ADF.Connection
IsMapServer Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class : IsMapServer Method




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

Syntax

Visual Basic (Declaration) 
Public Function IsMapServer( _
   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.IsMapServer(service)
C# 
public bool IsMapServer( 
   string service
)

Parameters

service
The name of the server object.

Return Value

True if server object is a map 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.