Compartilhar via


SocialCommentManager.GetComments method (UserProfile, Int32)

Recupera sociais comentários criados pelo usuário especificado, até o número máximo especificado para recuperar.

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

Syntax

'Declaração
Public Function GetComments ( _
    user As UserProfile, _
    maximumItemsToReturn As Integer _
) As SocialComment()
'Uso
Dim instance As SocialCommentManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim returnValue As SocialComment()

returnValue = instance.GetComments(user, _
    maximumItemsToReturn)
public SocialComment[] GetComments(
    UserProfile user,
    int maximumItemsToReturn
)

Parâmetros

Valor retornado

Type: []

Ver também

Referência

SocialCommentManager class

SocialCommentManager members

GetComments overload

Microsoft.Office.Server.SocialData namespace