Edit

Share via


SoapServerVRoot.CreateVirtualRootEx Method

Definition

Creates a SOAP virtual root with security options.

public:
 virtual void CreateVirtualRootEx(System::String ^ rootWebServer, System::String ^ inBaseUrl, System::String ^ inVirtualRoot, System::String ^ homePage, System::String ^ discoFile, System::String ^ secureSockets, System::String ^ authentication, System::String ^ operation, [Runtime::InteropServices::Out] System::String ^ % baseUrl, [Runtime::InteropServices::Out] System::String ^ % virtualRoot, [Runtime::InteropServices::Out] System::String ^ % physicalPath);
public void CreateVirtualRootEx (string rootWebServer, string inBaseUrl, string inVirtualRoot, string homePage, string discoFile, string secureSockets, string authentication, string operation, out string baseUrl, out string virtualRoot, out string physicalPath);
abstract member CreateVirtualRootEx : string * string * string * string * string * string * string * string * string * string * string -> unit
override this.CreateVirtualRootEx : string * string * string * string * string * string * string * string * string * string * string -> unit
Public Sub CreateVirtualRootEx (rootWebServer As String, inBaseUrl As String, inVirtualRoot As String, homePage As String, discoFile As String, secureSockets As String, authentication As String, operation As String, ByRef baseUrl As String, ByRef virtualRoot As String, ByRef physicalPath As String)

Parameters

rootWebServer
String

The root Web server. The default is "IIS://localhost/W3SVC/1/ROOT".

inBaseUrl
String

The base URL that contains the virtual root.

inVirtualRoot
String

The name of the virtual root.

homePage
String

The URL of the home page.

discoFile
String

true if a default discovery file is to be created; false if there is to be no discovery file. If false and a Default.disco file exists, the file is deleted.

secureSockets
String

true if SSL encryption is required; otherwise, false.

authentication
String

Specify "anonymous" if no authentication is to be used (anonymous user). Otherwise, specify an empty string.

operation
String

Not used. Specify null for this parameter.

baseUrl
String

When this method returns, this parameter contains the base URL.

virtualRoot
String

When this method returns, this parameter contains the name of the virtual root.

physicalPath
String

When this method returns, this parameter contains the disk address of the Virtual Root directory.

Implements

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

The SOAP utility is not available.

Applies to