Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.UriA URL representing the location in the term store from which to retrieve the social terms.
maximumItemsToReturn
Type: System.Int32The maximum size of the array.
socialItemPrivacy
Type: Microsoft.Office.Server.SocialData.SocialItemPrivacyThe SocialItemPrivacy value that determines whether private tags will be returned.
Return Value
Type: []
Returns SocialTerm.