Share via


WebSiteProperties.EnableVsWebServerDynamicPort Property

Gets or sets whether the ASP.NET Development Server uses a dynamic port for access.

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

Syntax

'Declaration
Property EnableVsWebServerDynamicPort As Boolean
    Get
    Set
bool EnableVsWebServerDynamicPort { get; set; }
property bool EnableVsWebServerDynamicPort {
    bool get ();
    void set (bool value);
}
abstract EnableVsWebServerDynamicPort : bool with get, set
function get EnableVsWebServerDynamicPort () : boolean
function set EnableVsWebServerDynamicPort (value : boolean)

Property Value

Type: System.Boolean
true if ASP.NET Development Server uses a dynamic port; otherwise false.

Examples

For an example of reading and setting late-bound properties, see WebSiteProperties.

.NET Framework Security

See Also

Reference

WebSiteProperties Interface

VsWebSite Namespace

EnvDTE

WebSiteProperties

Other Resources

Referencing Automation Assemblies and the DTE2 Object

Web Servers in Visual Studio for ASP.NET Web Projects