Freigeben über


SocialCommentManager.GetComments-Methode (UserProfile, Int32)

Ruft die social Kommentare erstellt von den angegebenen Benutzer bis zur angegebenen maximalen Anzahl abrufen.

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

Syntax

'Declaration
Public Function GetComments ( _
    user As UserProfile, _
    maximumItemsToReturn As Integer _
) As SocialComment()
'Usage
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
)

Parameter

Rückgabewert

Typ: []

Siehe auch

Referenz

SocialCommentManager Klasse

SocialCommentManager-Member

GetComments-Überladung

Microsoft.Office.Server.SocialData-Namespace