共用方式為


ActivityManager.ActivityPreferences Property

Gets a collection of ActivityPreference objects that represent the ActivityType preferences of the current user.

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

Syntax

'Declaration
Public ReadOnly Property ActivityPreferences As ActivityPreferencesCollection
    Get
'Usage
Dim instance As ActivityManager
Dim value As ActivityPreferencesCollection

value = instance.ActivityPreferences
public ActivityPreferencesCollection ActivityPreferences { get; }

Property Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityPreferencesCollection

Remarks

Use this collection to add and delete preference information for a particular user.

See Also

Reference

ActivityManager Class

ActivityManager Members

Microsoft.Office.Server.ActivityFeed Namespace