Share via


SPWebApplication.UpgradeEvalSitesRetentionDays property

Specifies the default number days after which upgrade evaluation sites will be deleted. The expiration date for upgrade evaluation sites is set based on their creation date plus this value in days.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UpgradeEvalSitesRetentionDays As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.UpgradeEvalSitesRetentionDays

instance.UpgradeEvalSitesRetentionDays = value
public int UpgradeEvalSitesRetentionDays { get; set; }

Property value

Type: System.Int32

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace