ESRI.ArcGIS.ADF
IsIISAvailable(String,String) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > IISHelper Class > IsIISAvailable Method : IsIISAvailable(String,String) Method




server
Name of the server machine, for example, MyServer.
port
Port in the format ":PortNumber:", for example, ":80:".
Check if the IIS server is available and running on a specified port

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function IsIISAvailable( _
   ByVal server As String, _
   ByVal port As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim server As String
Dim port As String
Dim value As Boolean
 
value = IISHelper.IsIISAvailable(server, port)
C# 
public static bool IsIISAvailable( 
   string server,
   string port
)

Parameters

server
Name of the server machine, for example, MyServer.
port
Port in the format ":PortNumber:", for example, ":80:".

See Also

© 2010 All Rights Reserved.