Share via


SocialCommentManager.GetCount Method (UserProfile)

Gets a count of all social comments created by the specified user.

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

Syntax

'Declaration
Public Function GetCount ( _
    user As UserProfile _
) As Integer
'Usage
Dim instance As SocialCommentManager
Dim user As UserProfile
Dim returnValue As Integer

returnValue = instance.GetCount(user)
public int GetCount(
    UserProfile user
)

Parameters

Return Value

Type: System.Int32

See Also

Reference

SocialCommentManager Class

SocialCommentManager Members

GetCount Overload

Microsoft.Office.Server.SocialData Namespace