ESRI.ArcGIS.ADF
GetIISVirtualDirectories(String,String) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > IISHelper Class > GetIISVirtualDirectories Method : GetIISVirtualDirectories(String,String) 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 virtual directories from an IIS Website

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetIISVirtualDirectories( _
   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.GetIISVirtualDirectories(server, webSiteID)
C# 
public static List<IIsVirtualDirectoryInfo> GetIISVirtualDirectories( 
   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 virtual directories from an IIS Website in the form of IIsVirtualDirectoryInfo objects

See Also

© 2010 All Rights Reserved.