Share via


SocialCommentManager.GetComments Method (UserProfile, Uri)

Retrieves all of the social comments created by the specified user for the specified URL.

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

Syntax

'Declaration
Public Function GetComments ( _
    user As UserProfile, _
    url As Uri _
) As SocialComment()
'Usage
Dim instance As SocialCommentManager
Dim user As UserProfile
Dim url As Uri
Dim returnValue As SocialComment()

returnValue = instance.GetComments(user, _
    url)
public SocialComment[] GetComments(
    UserProfile user,
    Uri url
)

Parameters

Return Value

Type: []

See Also

Reference

SocialCommentManager Class

SocialCommentManager Members

GetComments Overload

Microsoft.Office.Server.SocialData Namespace