ESRI.ArcGIS.ADF
DeleteVirtualDirectory Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > IISHelper Class : DeleteVirtualDirectory Method




iisLocation
The Active Directory path of the IIS website. Use GetIISLocation method to get the path.
virtualDirectoryName
The name of the virtual directory.
status
The output status message.
Delete a virtual directory

Syntax

Visual Basic (Declaration) 
Public Shared Function DeleteVirtualDirectory( _
   ByVal iisLocation As String, _
   ByVal virtualDirectoryName As String, _
   ByRef status As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim iisLocation As String
Dim virtualDirectoryName As String
Dim status As String
Dim value As Boolean
 
value = IISHelper.DeleteVirtualDirectory(iisLocation, virtualDirectoryName, status)
C# 
public static bool DeleteVirtualDirectory( 
   string iisLocation,
   string virtualDirectoryName,
   out string status
)

Parameters

iisLocation
The Active Directory path of the IIS website. Use GetIISLocation method to get the path.
virtualDirectoryName
The name of the virtual directory.
status
The output status message.

Return Value

true if vdir deletion succeeds, false if not

See Also

© 2010 All Rights Reserved.