ESRI.ArcGIS.ADF
GetIISApplicationDirectories Method
See Also  Send comments on this topic.
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

See Also

© 2010 All Rights Reserved.