Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Instructs the site that another user account is taking over control of a currently checked-out file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub TakeOverCheckOut
'Usage
Dim instance As SPCheckedOutFile
instance.TakeOverCheckOut()
public void TakeOverCheckOut()
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Url is null or empty. |
| SPException | An error occurred during the attempt to take over control of the file. |
Remarks
The file must be checked out and have no checked-in draft or published version.