SocialRatingManager.SetRating Method (Uri, Int32, String)
Creates a rating with the specified value, 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 SetRating ( _
url As Uri, _
rating As Integer, _
title As String _
) As DateTime
'Usage
Dim instance As SocialRatingManager
Dim url As Uri
Dim rating As Integer
Dim title As String
Dim returnValue As DateTime
returnValue = instance.SetRating(url, _
rating, title)
public DateTime SetRating(
Uri url,
int rating,
string title
)
Parameters
- url
Type: System.Uri
- rating
Type: System.Int32
- title
Type: System.String
Return Value
Type: System.DateTime
Returns the DateTime representing the time when the rating was set.