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.Booleantrue to clear the current user's unread mention count, otherwise false.
options
Type: Microsoft.Office.Server.Social.SPSocialFeedOptionsFeed retrieval options such as date range and sort order.
Return value
Type: Microsoft.Office.Server.Social.SPSocialFeed
The requested feed based on the specified parameters.