SPGroup.SetDistributionGroupArchives method

Sets the lists that serve as distribution group archives for the group.

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

public void SetDistributionGroupArchives(
	ReadOnlyCollection<SPList> lists,
	SPWeb filterWeb
)

Parameters

lists
Type: System.Collections.ObjectModel.ReadOnlyCollection<SPList>

The lists to use as distribution-list archives for the group.

filterWeb
Type: Microsoft.SharePoint.SPWeb

The Web site that contains the distribution-group archives that have been previously set.

Show: