Share via


SocialDataService.DeleteTagByKeyword method

Deletes a social tag associated with the current user for the specified URL and social tag keyword.

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

Syntax

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

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

Parameters

  • url
    Type: System.String

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

  • keyword
    Type: System.String

    The social tag keyword associated with the social tag to be deleted. The value must contain fewer than 256 characters.

Exceptions

Exception Condition
ArgumentNullException

No social tag term exists for the specified keyword 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.

See also

Reference

SocialDataService class

SocialDataService members

WebSvcSocialDataService namespace