SPSchedule.RandomizeOccurrence Method

This API supports the SharePoint Foundation infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Protected Friend Function RandomizeOccurrence ( _
    dtOccur As DateTime, _
    dtEnd As DateTime _
) As DateTime
'Usage
Dim dtOccur As DateTime
Dim dtEnd As DateTime
Dim returnValue As DateTime

returnValue = Me.RandomizeOccurrence(dtOccur, _
    dtEnd)
protected internal DateTime RandomizeOccurrence(
    DateTime dtOccur,
    DateTime dtEnd
)

Parameters

Return Value

Type: System.DateTime

See Also

Reference

SPSchedule Class

SPSchedule Members

Microsoft.SharePoint Namespace