共用方式為


SocialTagManager.GetTerms Method (UserProfile, Int32, SocialItemPrivacy)

Retrieves an array of SocialTerm objects owned by the specified user.

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

Syntax

'Declaration
Public Function GetTerms ( _
    user As UserProfile, _
    maximumItemsToReturn As Integer, _
    socialItemPrivacy As SocialItemPrivacy _
) As SocialTerm()
'Usage
Dim instance As SocialTagManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim socialItemPrivacy As SocialItemPrivacy
Dim returnValue As SocialTerm()

returnValue = instance.GetTerms(user, _
    maximumItemsToReturn, socialItemPrivacy)
public SocialTerm[] GetTerms(
    UserProfile user,
    int maximumItemsToReturn,
    SocialItemPrivacy socialItemPrivacy
)

Parameters

  • maximumItemsToReturn
    Type: System.Int32

    The maximum size of the array.

Return Value

Type: []
Returns SocialTerm.

See Also

Reference

SocialTagManager Class

SocialTagManager Members

GetTerms Overload

Microsoft.Office.Server.SocialData Namespace