Delete a virtual path from the specified virtual host.
Syntax
object.DeletePath( HostId, VirtualPath )
Parameters
- HostId
- An integer value which identifies the virtual host.
- VirtualPath
- A string that specifies the virtual path to be removed. This
path must be absolute and cannot be an empty string.
Return Value
A value of zero is returned if the virtual path was deleted. Otherwise,
a non-zero error code is returned which indicates the cause of the failure.
Remarks
This method removes a virtual path that was created by a previous
call to the AddPath method.
See Also
LocalPath Property,
VirtualPath Property,
AddPath Method,
CheckPath Method,
ResolvePath Method
|