Share via


WebSiteProperties2.VsWebServerVPath Property

Gets or sets the virtual path for the Visual Studio Web server.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
Property VsWebServerVPath As String
string VsWebServerVPath { get; set; }
property String^ VsWebServerVPath {
    String^ get ();
    void set (String^ value);
}
abstract VsWebServerVPath : string with get, set
function get VsWebServerVPath () : String 
function set VsWebServerVPath (value : String)

Property Value

Type: System.String
The virtual path for the Visual Studio Web server.

Remarks

The term virtual path refers to the portion of the request URL that follows the server identifier. For example, to have the Web development server serve pages from the URL "https://localhost/fun/games/default.aspx", you would set this property to "/fun/games/default.aspx". To serve pages from the root URL (https://localhost), you would set this property to "/".

.NET Framework Security

See Also

Reference

WebSiteProperties2 Interface

VsWebSite Namespace