SPCheckedOutFile.TakeOverCheckOut method

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)

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.

See also

Reference

SPCheckedOutFile class

SPCheckedOutFile members

Microsoft.SharePoint namespace