SocialDataService.GetTagTerms method

Retrieves all social tag terms created by the current user, up to the specified maximum number.

Namespace:  WebSvcSocialDataService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagTerms", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetTagTerms ( _
    maximumItemsToReturn As Nullable(Of Integer) _
) As SocialTermDetail()
'Usage
Dim instance As SocialDataService
Dim maximumItemsToReturn As Nullable(Of Integer)
Dim returnValue As SocialTermDetail()

returnValue = instance.GetTagTerms(maximumItemsToReturn)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetTagTerms", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SocialTermDetail[] GetTagTerms(
    Nullable<int> maximumItemsToReturn
)

Parameters

  • maximumItemsToReturn
    Type: System.Nullable<Int32>

    The maximum number of terms to return. This value must be null , or nonnegative and less than 3001. If null or zero, this method returns up to 1000 social tag terms.

Return value

Type: []
An array that contains all social tag terms created by the current user, up to the specified maximum number. Only social tag terms available for tagging are included in the results.

Exceptions

Exception Condition
ArgumentOutOfRangeException

maximumItemsToReturn is negative or greater than 3000, or startIndex is negative.

SqlException

The user does not have permission to access the user profile for userAccountName.

See also

Reference

SocialDataService class

SocialDataService members

WebSvcSocialDataService namespace