IComSoapIISVRoot.Delete(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes an Internet Information Services (IIS) virtual root.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void Delete(System::String ^ RootWeb, System::String ^ PhysicalDirectory, System::String ^ VirtualDirectory, [Runtime::InteropServices::Out] System::String ^ % Error);
public void Delete (string RootWeb, string PhysicalDirectory, string VirtualDirectory, out string Error);
abstract member Delete : string * string * string * string -> unit
Public Sub Delete (RootWeb As String, PhysicalDirectory As String, VirtualDirectory As String, ByRef Error As String)
Parameters
- RootWeb
- String
The root Web server.
- PhysicalDirectory
- String
The physical path of the virtual root.
- VirtualDirectory
- String
The name of the virtual root.
- Error
- String
A string to which an error message can be written.
Remarks
The IComSoapIISVRoot interface does not need to be implemented directly in your code. Alternatively, the IComSoapPublisher interface (implemented by the Publish class), exposes a DeleteVirtualRoot method. However, that method is not fully implemented by Publish.