Share via


ActivityPreferencesCollection.GetActivityPreferencesPerType method

Gets the current user’s preferences for each ActivityType object managed by the ActivityManager object.

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

Syntax

'Declaration
Public Function GetActivityPreferencesPerType As List(Of ActivityPreferencePerType)
'Usage
Dim instance As ActivityPreferencesCollection
Dim returnValue As List(Of ActivityPreferencePerType)

returnValue = instance.GetActivityPreferencesPerType()
public List<ActivityPreferencePerType> GetActivityPreferencesPerType()

Return value

Type: System.Collections.Generic.List<ActivityPreferencePerType>
A list of ActivityPreferencePerType objects.

See also

Reference

ActivityPreferencesCollection class

ActivityPreferencesCollection members

Microsoft.Office.Server.ActivityFeed namespace