Folder.DeleteObject method
Deletes the list folder.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub DeleteObject
'Usage
Dim instance As Folder
instance.DeleteObject()
public void DeleteObject()
Exceptions
Exception | Condition |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |