Partilhar via


SocialRatingManager.GetRating Method (Uri)

Retrieves the rating submitted by the current 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 ( _
    url As Uri _
) As SocialRating
'Usage
Dim instance As SocialRatingManager
Dim url As Uri
Dim returnValue As SocialRating

returnValue = instance.GetRating(url)
public SocialRating GetRating(
    Uri url
)

Parameters

Return Value

Type: Microsoft.Office.Server.SocialData.SocialRating

See Also

Reference

SocialRatingManager Class

SocialRatingManager Members

GetRating Overload

Microsoft.Office.Server.SocialData Namespace