Create a web application with the virtual directory name. The virtual directory is physically under the root of the web site.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim iisLocation As String
Dim virtualDirectoryName As String
Dim status As String
Dim value As Boolean
value = IISHelper.CreateVirtualDirectory(iisLocation, virtualDirectoryName, 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 creation succeeds, false if not
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