다음을 통해 공유


SocialDataService.GetTagTerms Method

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

Namespace:  [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx

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

SocialDataService Web Service