File.CheckOut 方法
Checks out the file from a document library based on the check out type.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Sub CheckOut
用法
Dim instance As File
instance.CheckOut()
public void CheckOut()
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPFileCheckOutException] | Checkout arguments are not valid. Error code: -2147023436. |
[Microsoft.SharePoint.SPFileCheckOutException] | File is already checked out. Error code: -2130575306. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |