SPFile.ScheduleStart 方法 (DateTime, String)

计划在指定的日期和时间与指定说明以供审核的自动批准的需经审查的库中的文档。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
    类型:System.DateTime

    一个DateTime值,指定何时要批准的文档。

  • approvalComment
    类型:System.String

    解释为什么批准该项目。此方法在SPListItem.ModerationInformation.Comment属性中存储此值。

备注

此方法调用startDate, true, approvalComment与ScheduleStart(DateTime, Boolean, String)

另请参阅

引用

SPFile 类

SPFile 成员

ScheduleStart 重载

Microsoft.SharePoint 命名空间

Approve

ScheduleEnd

ModerationInformation