共用方式為


SocialRatingManager Class

Contains methods and properties used to manipulate social rating data.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.SocialData.SocialDataManager
    Microsoft.Office.Server.SocialData.SocialRatingManager

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SocialRatingManager _
    Inherits SocialDataManager
'Usage
Dim instance As SocialRatingManager
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SocialRatingManager : SocialDataManager

Remarks

To access or add a social rating, call the SocialRatingManager class to create a SocialRating object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SocialRatingManager Members

Microsoft.Office.Server.SocialData Namespace