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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ReadOnlyCollectionOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ReadOnlyCollectionOfSPTypesParameter)]
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.