PublishingPage.ReviewRequestIntervalUnit property

Gets or sets the unit of time used by the content review request notification interval.

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

Syntax

'Declaration
Public Property ReviewRequestIntervalUnit As IntervalUnit
    Get
    Set
'Usage
Dim instance As PublishingPage
Dim value As IntervalUnit

value = instance.ReviewRequestIntervalUnit

instance.ReviewRequestIntervalUnit = value
public IntervalUnit ReviewRequestIntervalUnit { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.IntervalUnit
An interval unit that specifies the unit of time for the content review request notification interval.

Exceptions

Exception Condition
[System.UnauthorizedAccessException]

The current user does not have sufficient permissions to perform this action.

Remarks

The ReviewRequestInterval and ReviewRequestIntervalUnit properties determine the schedule for content reviews. The related ReviewRequestTimeSpan property uses these properties to determine how much time there is between e-mail review notifications after a PublishingPage is published. SharePoint 2010 uses these e-mail notifications to remind a user to review content.

If this property is equal to IntervalUnit.Unspecified, review requests are disabled. Regardless of what interval is specified, review requests are disabled if a EndDate property is 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.

See also

Reference

PublishingPage class

PublishingPage members

Microsoft.SharePoint.Publishing namespace