ActivityPreferencesCollection Class
Represents a collection of ActivityPreference objects.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.ActivityFeed.ActivityPreferencesCollection
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ActivityPreferencesCollection _
Implements IEnumerable(Of ActivityPreference), IEnumerable
'Usage
Dim instance As ActivityPreferencesCollection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityPreferencesCollection : IEnumerable<ActivityPreference>,
IEnumerable
Remarks
The ActivityPreferences property of ActivityManager is an ActivityPreferencesCollection object. Use this property to get and set preferences for a social entity.
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.