Compartilhar via


SPGroup.ResynchronizeDistributionGroup Method

Updates the member list and properties of the distribution list that is associated with the group to match the current values of the group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub ResynchronizeDistributionGroup
'Usage
Dim instance As SPGroup

instance.ResynchronizeDistributionGroup()
public void ResynchronizeDistributionGroup()

Exceptions

Exception Condition
SPDistributionGroupException

Occurs while performing an operation on the distribution list.

Remarks

This method refreshes the member list and properties of the group distribution list to match its values.

See Also

Reference

SPGroup Class

SPGroup Members

Microsoft.SharePoint Namespace