值为
True 时,WPP 可以将指定的演示文稿签入到服务器。
Boolean 类型,可读/写。
语法
表达式.CanCheckIn
表达式 一个代表 Presentation 对象的变量。
返回值
Boolean
说明
若要利用WPP 中的协作功能,演示文稿必须保存在 SharePoint Portal Server 上。
示例
本示例检查服务器是否可以签入指定的演示文稿;如果可以,它将关闭此演示文稿并且将其签回到服务器中。
示例代码 |
function CheckInPresentation(strPresentation){
if(Presentations.Item(strPresentation).CanCheckIn == true ){
Presentations.Item(strPresentation).CheckIn()
MsgBox(strPresentation + " has been checked in.")
}
else{
MsgBox(strPresentation + " cannot be checked in " + "at this time. Please try again later.")
}
}
|
若要调用上述子程序,请使用下列子程序并用在上面备注部分中提到的服务器上的实际文件替换“http://servername/workspace/report.ppt”文件名。
示例代码 |
function CheckPPTIn(){
CheckInPresentation("http://servername/workspace/report.ppt")
}
|
cancheckin 方法 可以签入