다음을 통해 공유


SocialDataService.GetTagTermsOnUrl Method

Retrieves the social tag terms on the specified URL, 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/GetTagTermsOnUrl", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetTagTermsOnUrl ( _
    url As String, _
    maximumItemsToReturn As Nullable(Of Integer) _
) As SocialTermDetail()
'Usage
Dim instance As SocialDataService
Dim url As String
Dim maximumItemsToReturn As Nullable(Of Integer)
Dim returnValue As SocialTermDetail()

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

Parameters

  • url
    Type: System.String

    The URL for which the social tag terms are retrieved. This value must be in a valid URI format and must contain fewer than 2085 characters.

  • maximumItemsToReturn
    Type: System.Nullable<Int32>

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

Return Value

Type: []
An array that contains the social terms on the specified URL, up to the specified maximum number.

Exceptions

Exception Condition
ArgumentNullException

url is null .

UriFormatException

url is not a valid format.

ArgumentOutOfRangeException

maximumItemsToReturn is negative or greater than 1000,

See Also

Reference

SocialDataService Class

SocialDataService Members

SocialDataService Web Service