SPFile.TakeOffline method
Takes the most current approved or major version of the file offline.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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. |