Share via


ActivityPreferencesCollection.SetActivityPreferencesPerType method

Sets the current user's preferences for each ActivityType object managed by the ActivityManager.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Sub SetActivityPreferencesPerType ( _
    alist As List(Of ActivityPreferencePerType) _
)
'Usage
Dim instance As ActivityPreferencesCollection
Dim alist As List(Of ActivityPreferencePerType)

instance.SetActivityPreferencesPerType(alist)
public void SetActivityPreferencesPerType(
    List<ActivityPreferencePerType> alist
)

Parameters

Remarks

A list of ActivityPreferencePerType objects.

See also

Reference

ActivityPreferencesCollection class

ActivityPreferencesCollection members

Microsoft.Office.Server.ActivityFeed namespace