SocialDataService.DeleteTag Method
Deletes the social tag associated with the current user for the specified URL and social tag term.
Namespace: [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/DeleteTag", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DeleteTag ( _
url As String, _
termID As Guid _
)
'Usage
Dim instance As SocialDataService
Dim url As String
Dim termID As Guid
instance.DeleteTag(url, termID)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/SocialDataService/DeleteTag", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/SocialDataService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DeleteTag(
string url,
Guid termID
)
Parameters
url
Type: System.StringThe URL of the social tag to be deleted. This value must be in a valid URI format and must contain fewer than 2085 characters.
termID
Type: System.GuidThe ID of the social tag term to be deleted.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | url is null . No social tag term exists for the specified termID or the social tag term is not available for tagging. |
UriFormatException | The value of url is not in a valid format. |
Remarks
This method deletes the specified social tag for the current user.