View.DeleteObject - Méthode
Deletes the list view.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Sub DeleteObject
'Utilisation
Dim instance As View
instance.DeleteObject()
public void DeleteObject()
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | List view does not exist. Error code: -2130575320. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |