ActivityPreferencePerType Class
SharePoint 2010
Contains an ActivityType object and a Boolean value indicating whether a preference for this type has been set.
Namespace:
Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] [SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class ActivityPreferencePerType
ActivityPreferencesCollection gets and sets lists of ActivityPreferencePerType objects to identify those ActivityType objects that users want to see in their feeds.