ActivityPreferencePerType Class

Contains an ActivityType object and a Boolean value indicating whether a preference for this type has been set.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityPreferencePerType

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

Syntax

'Declaration
<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
'Usage
Dim instance As ActivityPreferencePerType
[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

Remarks

ActivityPreferencesCollection gets and sets lists of ActivityPreferencePerType objects to identify those ActivityType objects that users want to see in their feeds.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ActivityPreferencePerType Members

Microsoft.Office.Server.ActivityFeed Namespace