SocialCommentManager.GetCount method (UserProfile, Uri)

Gets a count of all 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 GetCount ( _
    user As UserProfile, _
    url As Uri _
) As Integer
'Usage
Dim instance As SocialCommentManager
Dim user As UserProfile
Dim url As Uri
Dim returnValue As Integer

returnValue = instance.GetCount(user, _
    url)
public int GetCount(
    UserProfile user,
    Uri url
)

Parameters

Return value

Type: System.Int32

See also

Reference

SocialCommentManager class

SocialCommentManager members

GetCount overload

Microsoft.Office.Server.SocialData namespace