Share via


UserCustomAction.Update Method

Updates the custom action.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Overridable Sub Update
'Usage
Dim instance As UserCustomAction

instance.Update()
[RemoteAttribute]
public virtual void Update()

Exceptions

Exception Condition
SPException

The site is locked Error code: -2147024684, the site quota has been reached Error code: -2147023080, the custom action does not exist Error code:- -2146232832, or the custom action was modified on the server so changes cannot be committed. Error code: --2130575305.

UnauthorizedAccessException

The current user has insufficient permissions to perform the operation. Error code: -2147024891.

See Also

Reference

UserCustomAction Class

UserCustomAction Members

Microsoft.SharePoint.Client Namespace