다음을 통해 공유


SPWebApplication.RecycleBinRetentionPeriod Property

Gets or sets the number of days items are kept in the recycle bin.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.RecycleBinRetentionPeriod

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

Property Value

Type: System.Int32
A 32-bit integer containing the number of days. The default value is 30 days.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace