Share via


ISharePointProject.AutoRetract Property

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: 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

See Also

Reference

ISharePointProject Interface

Microsoft.VisualStudio.SharePoint Namespace