共用方式為


ActivityManager Constructor (UserProfile, SPServiceContext)

Creates an instance of the ActivityManager class from the specified SPServiceContext and for the specified user, which must be the current user.

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

Syntax

'Declaration
Public Sub New ( _
    userProfile As UserProfile, _
    serviceContext As SPServiceContext _
)
'Usage
Dim userProfile As UserProfile
Dim serviceContext As SPServiceContext

Dim instance As New ActivityManager(userProfile, _
    serviceContext)
public ActivityManager(
    UserProfile userProfile,
    SPServiceContext serviceContext
)

Parameters

See Also

Reference

ActivityManager Class

ActivityManager Members

ActivityManager Overload

Microsoft.Office.Server.ActivityFeed Namespace