SocialDataService.DeleteComment method

Deletes the social comment associated with the current user and specified URL that was last modified at the specified time.

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

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

Parameters

url
Type: System.String

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

lastModifiedTime
Type: System.DateTime

The last modified time of the social comment to be deleted.

ExceptionCondition
ArgumentNullException

url is null .

UriFormatException

The value of url is not in a valid format.

This method deletes the specified social comment associated with the current user.

Show: