SocialDataService.DeleteRating method

Deletes the social rating associated with the current user on the specified URL.

Namespace:  WebSvcSocialDataService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

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

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

Parameters

  • url
    Type: System.String

    The URL of the social rating to be deleted. This value must be in a valid URI format and must contain fewer than 2085 characters.

Exceptions

Exception Condition
ArgumentNullException

url is null .

UriFormatException

The value of url is not in a valid format.

Remarks

This method deletes the specified social rating for the current user.

See also

Reference

SocialDataService class

SocialDataService members

WebSvcSocialDataService namespace