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.
Updates the role definition with changes that have been made to its properties.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Update
'Usage
Dim instance As SPRoleDefinition
instance.Update()
public void Update()
Exceptions
Exception | Condition |
---|---|
ArgumentException | The ParentWeb property is null . |
InvalidOperationException | The role definitions of the ParentWeb property are inherited from a parent website. |
Remarks
You can only call the Update method on an SPRoleDefinition object within an SPRoleDefinitionCollection that is bound to a Microsoft SharePoint Foundation object that implements the ISecurableObject interface (for example,Microsoft.SharePoint.SPWeb).