Επεξεργασία

Κοινή χρήση μέσω


IComSoapIISVRoot.Create(String, String, String, String) Method

Definition

Creates 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 Create(System::String ^ RootWeb, System::String ^ PhysicalDirectory, System::String ^ VirtualDirectory, [Runtime::InteropServices::Out] System::String ^ % Error);
public void Create (string RootWeb, string PhysicalDirectory, string VirtualDirectory, out string Error);
abstract member Create : string * string * string * string -> unit
Public Sub Create (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, which corresponds to PhysicalPath from the CreateVirtualRoot(String, String, String, String, String, String) method.

VirtualDirectory
String

The name of the virtual root, which corresponds to VirtualRoot from the CreateVirtualRoot(String, String, String, String, String, String) method.

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. Instead, use the IComSoapPublisher interface (implemented by the Publish class), which exposes a CreateVirtualRoot method.

Applies to