WebSiteProperties.StartProgram Property
Gets or sets the path and file name of an executable file to run when starting the Web site.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
'Declaration
Property StartProgram As String
Get
Set
string StartProgram { get; set; }
property String^ StartProgram {
String^ get ();
void set (String^ value);
}
abstract StartProgram : string with get, set
function get StartProgram () : String
function set StartProgram (value : String)
Property Value
Type: System.String
The path and file name for the executable file to run when starting the Web site.
Remarks
The StartProgram value is used only when the value of the StartAction property is webStartActionProgram.
This property does not include any arguments, but you can set arguments with the StartArguments property.
Examples
For an example of reading and setting late-bound properties, see WebSiteProperties.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.