다음을 통해 공유


ActivityManager Members

Include Protected Members
Include Inherited Members

Contains collections of ActivityApplication and ActivityType objects, and methods to generate feeds by getting existing instances of ActivityEvent objects.

The ActivityManager type exposes the following members.

Constructors

  Name Description
Public method ActivityManager() Creates an instance of the ActivityManager class from the current SPServiceContext.
Public method ActivityManager(UserProfile) Creates an instance of the ActivityManager class from the current SPServiceContext and for the specified user, which must be the current user.
Public method ActivityManager(UserProfile, SPServiceContext) Creates an instance of the ActivityManager class from the specified SPServiceContext and for the specified user, which must be the current user.

Top

Properties

  Name Description
Public property ActivityApplications Gets a collection of ActivityApplication objects that are managed by this ActivityManager object. These ActivityApplication objects are used by gatherers to manage ActivityType objects and create ActivityTemplates objects.
Public property ActivityPreferences Gets a collection of ActivityPreference objects that represent the ActivityType preferences of the current user.
Public property ActivityTypes Gets a collection of ActivityType objects managed by this ActivityManager.
Public property CultureInfo Gets or sets the specific culture associated with this ActivityManager.
Public property CultureName Gets or sets the name of the culture associated with this ActivityManager.
Public property CurrentUserEmail Gets a string representing the e-mail address of the current user.
Public property CurrentUserId Gets the record identifier associated with the current user’s user profile.
Public property CurrentUserName Gets a string representing the current user’s name.
Public property Encoding Gets or sets the character encoding for this ActivityManager object.
Public property MaxBatchSizeRead Gets or sets the maximum number of read operations that can be batched in one transaction.
Public property MaxBatchSizeWrite Gets or sets the maximum number of write operations that can be batched in one transaction.
Public property MaxEventsPerBatch Gets or sets the maximum number of events that can be returned by one database transaction.
Public property MaxEventsPerFeedJobRun Gets or sets a maximum number of events for each run of a feed job.
Public property MaxRollupSize
Public property MaxTimeToLiveSeconds
Public property MaxUsersPerGathererRun
Public property MinEventTime
Public property PartitionID
Public property ServiceContext Gets the SPServiceContext object associated with this ActivityManager.
Public property UserProfileManager Gets the UserProfileManager object associated with this ActivityManager.

Top

Methods

  Name Description
Public method Dispose Releases unmanaged resources used by this ActivityManager.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetActivitiesByMe() Gets an ActivityEventsCollection containing all activity events published by the current user.
Public method GetActivitiesByMe(DateTime) Gets an ActivityEventsCollection object containing all activity events published by the current user after a specified time.
Public method GetActivitiesByMe(Privacy) Gets an ActivityEventsCollection object containing all activity events published by the current user that match the specified privacy level.
Public method GetActivitiesByMe(Privacy, DateTime) Gets an ActivityEventsCollection containing all activity events published by the current user that match the specified privacy level and that have occurred after the specified DateTime object.
Public method GetActivitiesByMe(Privacy, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the current user that match the specified privacy level.
Public method GetActivitiesByMe(Privacy, DateTime, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the current user that match the specified privacy level and that have occurred after the specified DateTime object.
Public method GetActivitiesByUser(String) Gets an ActivityEventsCollection object containing all activity events published by the user with the specified name.
Public method GetActivitiesByUser(UserProfile) Gets an ActivityEventsCollection object containing all activity events published by the specified user.
Public method GetActivitiesByUser(String, DateTime) Gets an ActivityEventsCollection object containing all activity events published by the user with the specified name after a specified time.
Public method GetActivitiesByUser(String, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number.
Public method GetActivitiesByUser(UserProfile, DateTime) Gets an ActivityEventsCollection object containing all activity events published by the specified user that have been published after the specified DateTime.
Public method GetActivitiesByUser(UserProfile, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the specified user.
Public method GetActivitiesByUser(String, DateTime, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the user with the specified name after a specified time.
Public method GetActivitiesByUser(UserProfile, DateTime, Int32) Gets an ActivityEventsCollection object containing all activity events, up to a specified maximum number, published by the specified user that have been published after the specified DateTime.
Public method GetActivitiesForMe() Gets an ActivityEventsCollection containing all ActivityEvent objects associated with ActivityType objects that represent activity types that are in the current user’s preferences.
Public method GetActivitiesForMe(DateTime) Gets an ActivityEventsCollection object containing activity events that have occurred after a specified DateTime and associated with ActivityType objects that represent activity types that are in the current user's preferences.
Public method GetActivitiesForMe(Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, associated with ActivityType objects that represent activity types that are in the current user’s preferences.
Public method GetActivitiesForMe(DateTime, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, that have occurred after a specified DateTime and associated with ActivityType objects that represent activity types that are in the current user’s preferences.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PrepareToAllowSchemaChanges Implements copy-on-write behavior for collections inside this ActivityManager object, so that collections within the cached ActivityManager (stored in the User Profile Application) are not modified while any updates are being made.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ActivityManager Class

Microsoft.Office.Server.ActivityFeed Namespace