共用方式為


SPWebApplication.UpgradeEvalSitesRetentionDays property

指定預設天數之後,將會刪除升級評估網站。升級評估網站的到期日期是根據設定其建立日期加上此值天。

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

Syntax

'宣告
Public Property UpgradeEvalSitesRetentionDays As Integer
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Integer

value = instance.UpgradeEvalSitesRetentionDays

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

Property value

Type: System.Int32

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace