没有LockID的签入文件 [英] Checkin file with no LockID
问题描述
嗨
如何检入没有LockID值的文件?具有以下值
CheckOutStatus:长期
CheckOutType:在线
CheckOutDate:8/18/2017
CheckOutBy:域\用户
CheckOutByUser:域\用户
CheckoutUserId,CheckoutDate,CheckoutExpires在alldocs表中都为NULL.
请帮助.
TommyTr,您好!
LockId是锁的标识符.了解有关 SPFile.Lock方法的更多信息.
在Windows SharePoint Services中,有一种称为短期锁定的签出过程.短期签出是隐式的,在打开文件进行编辑时完成.一把锁 在客户端应用程序中编辑文件时将文件"应用于文件,以便其他用户无法对其进行修改.关闭客户端应用程序后,将释放锁定.
什么 您是什么意思签入文件没有LockID?
在SharePoint AllDocs表中:
- CheckoutUserId:如果文档已签出,则此参数包含已签出文档的用户的用户标识.否则,此参数为NULL.
- CheckoutDate:UTC格式的时间戳,指示何时签出此文档.
- CheckoutExpires:UTC格式的时间戳,指示此文档的短期锁定何时到期.
如果未检出文件,则这些值将为空.
有关AllDocs表的信息:
Linda(张)
>
Hi
How do I checkin file with no LockID value? It has the following values
CheckOutStatus : LongTerm
CheckOutType : Online
CheckOutDate : 8/18/2017
CheckOutBy : domain\user
CheckOutByUser : domain\user
CheckoutUserId, CheckoutDate, CheckoutExpires have NULL in alldocs table.
Please help.
Hi TommyTr,
LockId is the identifier for the lock. Learn more about SPFile.Lock method.
In Windows SharePoint Services, there is a type of check-out process called short-term lock. Short-term checkouts are implicit and are done when a file is opened for editing. A lock is applied to the file while it is being edited in the client application so that other users cannot modify it. After the client application is closed, the lock is released.
What do you mean checkin file without LockID?
In SharePoint AllDocs table:
- CheckoutUserId: If the document is checked out, this parameter contains the User Identifier of the user who has the document checked out. Otherwise, this parameter is NULL.
- CheckoutDate: A time stamp in UTC format indicating when this document was checked out.
- CheckoutExpires: A time stamp in UTC format indicating when the short-term lock for this document will expire.
If the file is not checked out, these values will be null.
Information about AllDocs table:
https://msdn.microsoft.com/en-us/library/jj594462(v=office.12).aspx
Best regards,
Linda Zhang
这篇关于没有LockID的签入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!