Share via


SPGroup.GetDistributionGroupArchives method

Returns the lists that serve as archives for messages that are sent to the distribution lists for this group.

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

Syntax

'Declaration
Public Function GetDistributionGroupArchives ( _
    filterWeb As SPWeb _
) As ReadOnlyCollection(Of SPList)
'Usage
Dim instance As SPGroup
Dim filterWeb As SPWeb
Dim returnValue As ReadOnlyCollection(Of SPList)

returnValue = instance.GetDistributionGroupArchives(filterWeb)
public ReadOnlyCollection<SPList> GetDistributionGroupArchives(
    SPWeb filterWeb
)

Parameters

  • filterWeb
    Type: Microsoft.SharePoint.SPWeb

    An SPWeb object that represents a Web site in which lists serve as distribution-group archives for the group. Set this parameter to a null reference (Nothing in Visual Basic) to return all distribution-group archives for the group.

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<SPList>
A System.Collections.ObjectModel.ReadOnlyCollection object that represents the lists that serve as archives.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace