SocialDataService.DeleteRating Method
Deletes the social rating associated with the current user on the specified URL.
Namespace: [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx
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.StringThe 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.