共用方式為


ActivityManager.GetActivitiesForMe Method (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.

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

Syntax

'Declaration
Public Function GetActivitiesForMe ( _
    minEventTime As DateTime _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim minEventTime As DateTime
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesForMe(minEventTime)
public ActivityEventsCollection GetActivitiesForMe(
    DateTime minEventTime
)

Parameters

  • minEventTime
    Type: System.DateTime

    The UTC DateTime after which events in the collection were published.

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See Also

Reference

ActivityManager Class

ActivityManager Members

GetActivitiesForMe Overload

Microsoft.Office.Server.ActivityFeed Namespace