PublishingPage.ReviewRequestInterval Property
Gets or sets the interval between content review request notifications.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property ReviewRequestInterval As Integer
Get
Set
'Usage
Dim instance As PublishingPage
Dim value As Integer
value = instance.ReviewRequestInterval
instance.ReviewRequestInterval = value
public int ReviewRequestInterval { get; set; }
Property Value
Type: System.Int32
An integer specifying the content review request notification interval.
Exception type |
Condition |
---|---|
[System.UnauthorizedAccessException] |
The current user does not have sufficient permissions to perform this action. |
[System.ArgumentException] |
ReviewRequestInterval cannot be negative or greater than 99. |
Remarks
The ReviewRequestInterval and ReviewRequestIntervalUnit properties determine the schedule for content reviews. The related ReviewRequestTimeSpanproperty uses these properties to determine how much time there is between e-mail review notifications once you publish a PublishingPage. Microsoft Office SharePoint Server 2007 uses these e-mail notifications to remind a user to review content.
If the ReviewRequestIntervalUnit property value is equal to PublishingPage.DisabledInterval, review requests are disabled. Regardless of what interval is specified, review requests are disabled if a EndDate property set for the PublishingPage.
To save changes after setting this property, call the Update method.
To set this value, the user must have both View and Edit permissions on the PublishingPage: View permissions to retrieve the page and to return any of its property values, and Edit permissions to change the value.