Share via


SPGroup.Update method

Updates the database with changes that have been made to the properties of the group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Update
'Usage
Dim instance As SPGroup

instance.Update()
public void Update()

Exceptions

Exception Condition
Exception

Occurs while performing an operation on the group.

SPDistributionGroupException

Occurs while performing an operation on the distribution list.

Remarks

Call this method to commit the changes that are made to the group to the database, otherwise, the changes will not be persisted.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace