Partilhar via


SocialRatingManager.GetAverage Method

Retrieves the average rating, on a scale of 0-5, for the specified URL.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetAverage ( _
    url As Uri _
) As SocialRatingAverage
'Usage
Dim instance As SocialRatingManager
Dim url As Uri
Dim returnValue As SocialRatingAverage

returnValue = instance.GetAverage(url)
public SocialRatingAverage GetAverage(
    Uri url
)

Parameters

Return Value

Type: Microsoft.Office.Server.SocialData.SocialRatingAverage

See Also

Reference

SocialRatingManager Class

SocialRatingManager Members

Microsoft.Office.Server.SocialData Namespace