ISharePointProject.AutoRetract Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets whether the solution is retracted after debugging.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Property AutoRetract As Boolean
bool AutoRetract { get; set; }
Property Value
Type: System.Boolean
True if the assembly is automatically retracted after debugging; false otherwise.
Remarks
By default, the SharePoint solution is retracted from SharePoint after debugging completes. However, setting this property to false enables you to prevent the solution from being retracted after debugging.
This property is exposed as the Auto-retract after debugging option in the SharePoint tab of the SharePoint project property page.
.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.