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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ReadOnlyCollectionOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ReadOnlyCollectionOfSPTypesParameter)]
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