SPSocialFeedManager.GetMentions method

Gets a feed of threads that mention the current user.

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

Syntax

'Declaration
Public Function GetMentions ( _
    clearUnreadMentions As Boolean, _
    options As SPSocialFeedOptions _
) As SPSocialFeed
'Usage
Dim instance As SPSocialFeedManager
Dim clearUnreadMentions As Boolean
Dim options As SPSocialFeedOptions
Dim returnValue As SPSocialFeed

returnValue = instance.GetMentions(clearUnreadMentions, _
    options)
public SPSocialFeed GetMentions(
    bool clearUnreadMentions,
    SPSocialFeedOptions options
)

Parameters

  • clearUnreadMentions
    Type: System.Boolean

    true to clear the current user's unread mention count, otherwise false.

Return value

Type: Microsoft.Office.Server.Social.SPSocialFeed
The requested feed based on the specified parameters.

See also

Reference

SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace