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.
Takes the most current approved or major version of the file offline.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub TakeOffline
'Usage
Dim instance As SPFile
instance.TakeOffline()
public void TakeOffline()
Exceptions
| Exception | Condition |
|---|---|
| SPException | An error occurred while taking the file offline. |