This topic has not yet been rated - Rate this topic

SocialDataService.GetRatingsOnUrl method

This documentation is preliminary and is subject to change.

Retrieves all social ratings created for the specified URL.

Namespace:  WebSvcSocialDataService
Assembly:  UserProfileServices (in UserProfileServices.dll)
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/SocialDataService/GetRatingsOnUrl", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SocialRatingDetail[] GetRatingsOnUrl(
	string url
)

Parameters

url
Type: System.String
The URL for which social ratings are retrieved. This value must be in a valid URI format and must contain fewer than 2085 characters.

Return value

Type: WebSvcSocialDataService.SocialRatingDetail[]
An array that contains all social ratings created for the specified URL.
ExceptionCondition
ArgumentNullException

url is null .

UriFormatException

url is not in the correct format.

SqlException

The user does not have permission to view the social ratings for url.

This method returns all social ratings for the URL specified by the url parameter.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.