ESRI.ArcGIS.ADF.Core
GetIISLocation Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > IISHelper Class : GetIISLocation Method




server
Name of the server machine, for example, MyServer.
port
Port in the format ":PortNumber:", for example, ":80:".
status
The output status message.
Get the Active Directory path for the server and the port

Syntax

Visual Basic (Declaration) 
Public Shared Function GetIISLocation( _
   ByVal server As String, _
   ByVal port As String, _
   ByRef status As String _
) As String
Visual Basic (Usage)Copy Code
Dim server As String
Dim port As String
Dim status As String
Dim value As String
 
value = IISHelper.GetIISLocation(server, port, status)
C# 
public static string GetIISLocation( 
   string server,
   string port,
   out string status
)

Parameters

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

Return Value

Active Directory Path, for example, "IIS://MyServer/W3SVC/1/ROOT".

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.