SPFile.ScheduleStart Method (DateTime)

Schedules the automatic approval of a document in a moderated library at the specified date and time.

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

Syntax

'Declaration
Public Sub ScheduleStart ( _
    startDate As DateTime _
)
'Usage
Dim instance As SPFile
Dim startDate As DateTime

instance.ScheduleStart(startDate)
public void ScheduleStart(
    DateTime startDate
)

Parameters

  • startDate
    Type: System.DateTime

    The date and time when the document is automatically approved.

Remarks

This method calls ScheduleStart(DateTime, Boolean, String) with startDate, true, and string.empty.

See Also

Reference

SPFile Class

SPFile Members

ScheduleStart Overload

Microsoft.SharePoint Namespace

Approve

ScheduleEnd

ModerationInformation