Export (0) Print
Expand All
ID
Top
Expand Minimize

ShouldDeploy Property

Visual Studio .NET 2003

Sets or returns whether the current project is deployed when the solution configuration associated with this SolutionContext is selected.

[Visual Basic .NET]
Public Property ShouldDeploy() As Boolean
[Visual Basic 6]
Property Get ShouldDeploy() As Boolean
Property Let ShouldDeploy( _
   ByVal NewValue As Boolean _
) 
[C++]
HRESULT __stdcall get_ShouldDeploy(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_ShouldDeploy(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
public bool ShouldDeploy {get; set;}
[JScript .NET]
public function get ShouldDeploy() : Boolean
public function set ShouldDeploy(
   NewValue : Boolean
)

Parameters

NewValue
Required. True means the current project is built when the solution context is selected, False means it is not.

Remarks

If the project does not support being built, ShouldDeploy is False, and setting it to True has no effect.

See Also

Applies To: SolutionContext Object

Show:
© 2014 Microsoft