IComSoapIISVRoot.Delete(String, String, String, String) Method

Definition

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(string RootWeb, string PhysicalDirectory, string VirtualDirectory, out string Error);

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1