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




server
Hostname of the IIS server
webSiteID
Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.
Retrieves the list of application directories from an IIS Website

Syntax

Visual Basic (Declaration) 
Public Shared Function GetIISApplicationDirectories( _
   ByVal server As String, _
   ByVal webSiteID As String _
) As List(Of IIsVirtualDirectoryInfo)
Visual Basic (Usage)Copy Code
Dim server As String
Dim webSiteID As String
Dim value As List(Of IIsVirtualDirectoryInfo)
 
value = IISHelper.GetIISApplicationDirectories(server, webSiteID)
C# 
public static List<IIsVirtualDirectoryInfo> GetIISApplicationDirectories( 
   string server,
   string webSiteID
)

Parameters

server
Hostname of the IIS server
webSiteID
Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.

Return Value

list of application directories from an IIS Website in the form of IIsVirtualDirectoryInfo objects

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.