SocialDataService.GetTags method

Retrieves all social tags by the current user on the specified URL.

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

Syntax

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

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

Parameters

  • url
    Type: System.String

    The URL for which social tags are retrieved. This value must be in a valid URI format and must contain fewer than 2085 characters.

Return value

Type: []
An array that contains all social tags by current user for the specified URL.

Exceptions

Exception Condition
ArgumentNullException

url is null .

UriFormatException

url is not in the correct format.

SqlException

The user does not have permission to view the social tags for url.

Remarks

The method retrieves up to 1000 social tags created by the current user for the specified URL.

See also

Reference

SocialDataService class

SocialDataService members

WebSvcSocialDataService namespace