SPFile.ScheduleStart method (DateTime, Boolean)
排程在指定的日期和時間,需仲裁的媒體櫃中的文件的自動核准,並選擇性地離開適度的狀態不變項目。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub ScheduleStart ( _
startDate As DateTime, _
setModerationStatus As Boolean _
)
'用途
Dim instance As SPFile
Dim startDate As DateTime
Dim setModerationStatus As Boolean
instance.ScheduleStart(startDate, setModerationStatus)
public void ScheduleStart(
DateTime startDate,
bool setModerationStatus
)
參數
startDate
Type: System.DateTime日期和時間文件時自動核准。
setModerationStatus
Type: System.Booleantrue如果項目中的 [ ModerationInformation ] 屬性設定為Scheduled。否則, false。
備註
這個方法會呼叫ScheduleStart(DateTime, Boolean, String)與startDate、 setModerationStatus和string.empty。