다음을 통해 공유


SocialDataService.GetSocialDataForFullReplication Method

Retrieves the list of existing social comments, social tags, and social ratings for the specified user for use when replicating social data.

Namespace:  [SocialDataService Web service]
Web service reference: http://Site/_vti_bin/SocialDataService.asmx

Syntax

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

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

Parameters

  • userAccountName
    Type: System.String

    The account name of the user.

Return Value

Type: [SocialDataService Web service].SocialReplicationData
The social comments, social tags, and social ratings for the specified user.

Exceptions

Exception Condition
ArgumentNullException

userAccountName is null .

UserNotFoundException

The user profile for userAccountName cannot be found.

SqlException

The user does not have permission to access the social data for userAccountName.

Remarks

This method returns the social data for replication for the specified user. The replication data includes social comments, social tags, and social ratings.

See Also

Reference

SocialDataService Class

SocialDataService Members

SocialDataService Web Service