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)
Syntax
'Declaration
Public Sub SetDistributionGroupArchives ( _
lists As ReadOnlyCollection(Of SPList), _
filterWeb As SPWeb _
)
'Usage
Dim instance As SPGroup
Dim lists As ReadOnlyCollection(Of SPList)
Dim filterWeb As SPWeb
instance.SetDistributionGroupArchives(lists, _
filterWeb)
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.SPWebThe Web site that contains the distribution-group archives that have been previously set.