SocialRatingManager.GetRating method (UserProfile, Uri)
Retrieves the rating submitted by the specified user for the specified URL.
Namespace: Microsoft.Office.Server.SocialData
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetRating ( _
user As UserProfile, _
url As Uri _
) As SocialRating
'Usage
Dim instance As SocialRatingManager
Dim user As UserProfile
Dim url As Uri
Dim returnValue As SocialRating
returnValue = instance.GetRating(user, _
url)
public SocialRating GetRating(
UserProfile user,
Uri url
)
Parameters
- url
Type: System.Uri
Return value
Type: Microsoft.Office.Server.SocialData.SocialRating