SPFile.ScheduleStart method (DateTime, String)
排程自動核准的仲裁程式庫中的文件,在指定的日期及時間核准指定的說明。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub ScheduleStart ( _
startDate As DateTime, _
approvalComment As String _
)
'用途
Dim instance As SPFile
Dim startDate As DateTime
Dim approvalComment As String
instance.ScheduleStart(startDate, approvalComment)
public void ScheduleStart(
DateTime startDate,
string approvalComment
)
參數
startDate
Type: System.DateTimeDateTime值,指定何時要核准的文件。
approvalComment
Type: System.String項目已認可的原因說明。這個方法會將這個值儲存在SPListItem.ModerationInformation.Comment屬性。
備註
這個方法會呼叫ScheduleStart(DateTime, Boolean, String)與startDate、 true和approvalComment。