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