Condividi tramite


SocialCommentManager Members

Include Protected Members
Include Inherited Members

Contains methods and properties that allow you to add, delete, retrieve, and manage social comments.

The SocialCommentManager type exposes the following members.

Constructors

  Name Description
Public method SocialCommentManager()
Public method SocialCommentManager(SPServiceContext) Instantiates a SocialCommentManager from the specified ServerContext.

Top

Properties

  Name Description
Public property IsSocialAdmin (Inherited from SocialDataManager.)

Top

Methods

  Name Description
Public method AddComment(Uri, String) Adds the specified comment to the specified URL.
Public method AddComment(Uri, String, Boolean) Adds the specified comment to the specified URL and assigns the comment the specified priority.
Public method AddComment(Uri, String, Boolean, String) Adds the specified comment to the specified URL and gives the comment the specified priority and title.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetBulkUserProfiles(List<Int64>) Retrieves a list of user profiles corresponding to the specified list of user record IDs. (Inherited from SocialDataManager.)
Protected method GetBulkUserProfiles(List<Int64>, Boolean) Retrieves a list of user profiles corresponding to the specified list of user record IDs. (Inherited from SocialDataManager.)
Public method GetComments(Uri) Retrieves all of the social comments created for the specified URL.
Public method GetComments(UserProfile) Retrieves all of the social comments created by the specified user.
Public method GetComments(Uri, Int32) Retrieves all of the social comments created for the specified URL, up to the specified maximum number.
Public method GetComments(UserProfile, Int32) Retrieves social comments created by the specified user, up to the specified maximum number to retrieve.
Public method GetComments(UserProfile, Uri) Retrieves all of the social comments created by the specified user for the specified URL.
Public method GetComments(Uri, Int32, Int32) Retrieves all of the social comments created for the specified URL, up to the specified maximum number and starting at the specified zero-based index.
Public method GetComments(UserProfile, Int32, Int32) Retrieves social comments created by the specified user, up to the specified maximum number to retrieve, and starting at the specified zero-based index.
Public method GetComments(Uri, Int32, Int32, DateTime) Retrieves all of the social comments created for the specified URL and last modified after the specified time, up to the specified maximum number and starting at the specified zero-based index.
Public method GetCount(Uri) Gets a count of all social comments created for the specified URL.
Public method GetCount(UserProfile) Gets a count of all social comments created by the specified user.
Public method GetCount(UserProfile, Uri) Gets a count of all social comments created by the specified user for the specified URL.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method GetUserProfile Retrieves a user profile corresponding to the specified user record ID. (Inherited from SocialDataManager.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SocialCommentManager Class

Microsoft.Office.Server.SocialData Namespace