SocialDataService.GetAllTagTermsForUrlFolder Method
Retrieves the social tag terms for a 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/GetAllTagTermsForUrlFolder", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetAllTagTermsForUrlFolder ( _
urlFolder As String, _
maximumItemsToReturn As Integer _
) As SocialTermDetail()
'Usage
Dim instance As SocialDataService
Dim urlFolder As String
Dim maximumItemsToReturn As Integer
Dim returnValue As SocialTermDetail()
returnValue = instance.GetAllTagTermsForUrlFolder(urlFolder, _
maximumItemsToReturn)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetAllTagTermsForUrlFolder", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SocialTermDetail[] GetAllTagTermsForUrlFolder(
string urlFolder,
int maximumItemsToReturn
)
Parameters
urlFolder
Type: System.StringThe URL from which the social terms are retrieved. This value must be an empty string or in a valid URI format and must contain fewer than 2085 characters.
maximumItemsToReturn
Type: System.Int32The maximum number of terms to return. This value must be greater than or equal to 0 and less than 1001. If this value is 0, this method returns up to 1000 social tag terms.
Return Value
Type: []
An array that contains the social tag terms for a specified URL, up to the specified maximum number.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | urlFolder is null or no social tag term exists for the specified URL or the social tag terms are not available for tagging. |
UriFormatException | urlFolder is not in a valid format. |
ArgumentOutOfRangeException | maximumItemsToReturn is negative or greater than 1000. |