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)

public void Update()

ExceptionCondition
Exception

Occurs while performing an operation on the group.

SPDistributionGroupException

Occurs while performing an operation on the distribution list.

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

Show: