共用方式為


SocialRating Class

Contains properties representing a social rating, which is a specific piece of social data that ranks an entity on a scale of 0-5.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.SocialData.SocialData
    Microsoft.Office.Server.SocialData.SocialRating

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 SocialRating _
    Inherits SocialData
'Usage
Dim instance As SocialRating
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SocialRating : SocialData

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

SocialRating Members

Microsoft.Office.Server.SocialData Namespace