Compartilhar via


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

  • filterWeb
    Type: Microsoft.SharePoint.SPWeb

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

See Also

Reference

SPGroup Class

SPGroup Members

Microsoft.SharePoint Namespace