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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Deletes an Internet Information Services (IIS) virtual root.

Namespace:   System.EnterpriseServices.Internal
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

void Delete(
	string RootWeb,
	string PhysicalDirectory,
	string VirtualDirectory,
	out string Error


Type: System.String

The root Web server.

Type: System.String

The physical path of the virtual root.

Type: System.String

The name of the virtual root.

Type: System.String

A string to which an error message can be written.

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.

.NET Framework
Available since 1.1
Return to top