Partager via


WebSiteProperties.EnableVsWebServer Property

Gets or sets whether to use the ASP.NET Development Server for running file system Web site projects.

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

Syntax

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

Property Value

Type: System.Boolean
true if the ASP.NET Development Server is enabled; 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