共用方式為


SocialTagManager.GetTerms Method (Uri, Int32, SocialItemPrivacy)

Retrieves an array of SocialTerm objects in the term store with the specified SocialItemPrivacy.

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

Syntax

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

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

Parameters

  • url
    Type: System.Uri

    A URL representing the location in the term store from which to retrieve the social terms.

  • 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