SocialDataService.PropagateRating Method

Calculates the average rating for the list item at the specified URL and updates the corresponding list item with the average rating and rating count.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/PropagateRating", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub PropagateRating ( _
    url As String _
)
'Usage
Dim instance As SocialDataService
Dim url As String

instance.PropagateRating(url)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/PropagateRating", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void PropagateRating(
    string url
)

Parameters

  • url
    Type: System.String

    The URL of the list item to be updated.

Exceptions

Exception Condition
ArgumentNullException

url is null

UriFormatException

url is not a valid format.

Remarks

The update operation is ignored if the item was deleted or the list item is from a different farm.

See Also

Reference

SocialDataService Class

SocialDataService Members

SocialDataService Web Service