Bewerken

Delen via


IISVirtualRoot.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:
 virtual 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
override this.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, as specified by RootWebServer from the DeleteVirtualRoot(String, String, String) method.

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.

Implements

Remarks

Even though it is public, the Delete method is not intended to be called directly.

Alternatively, there is the DeleteVirtualRoot method. However, this method is not fully implemented.

Applies to