SocialCommentManager SocialCommentManager SocialCommentManager Class

Definition

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

public ref class SocialCommentManager sealed : Microsoft::Office::Server::SocialData::SocialDataManager
public sealed class SocialCommentManager : Microsoft.Office.Server.SocialData.SocialDataManager
Public NotInheritable Class SocialCommentManager
Inherits SocialDataManager
Inheritance
SocialCommentManagerSocialCommentManagerSocialCommentManager

Constructors

SocialCommentManager() SocialCommentManager() SocialCommentManager()
SocialCommentManager(SPServiceContext) SocialCommentManager(SPServiceContext) SocialCommentManager(SPServiceContext)

Instantiates a SocialCommentManager from the specified ServerContext.

Methods

AddComment(Uri, String) AddComment(Uri, String) AddComment(Uri, String)

Adds the specified comment to the specified URL.

AddComment(Uri, String, Boolean) AddComment(Uri, String, Boolean) AddComment(Uri, String, Boolean)

Adds the specified comment to the specified URL and assigns the comment the specified priority.

AddComment(Uri, String, Boolean, String) AddComment(Uri, String, Boolean, String) AddComment(Uri, String, Boolean, String)

Adds the specified comment to the specified URL and gives the comment the specified priority and title.

GetBulkUserProfiles(List<Int64>) GetBulkUserProfiles(List<Int64>) GetBulkUserProfiles(List<Int64>)

Retrieves a list of user profiles corresponding to the specified list of user record IDs.

(Inherited from SocialDataManager)
GetBulkUserProfiles(List<Int64>, Boolean) GetBulkUserProfiles(List<Int64>, Boolean) GetBulkUserProfiles(List<Int64>, Boolean)

Retrieves a list of user profiles corresponding to the specified list of user record IDs.

(Inherited from SocialDataManager)
GetComments(Uri) GetComments(Uri) GetComments(Uri)

Retrieves all of the social comments created for the specified URL.

GetComments(Uri, Int32) GetComments(Uri, Int32) GetComments(Uri, Int32)

Retrieves all of the social comments created for the specified URL, up to the specified maximum number.

GetComments(Uri, Int32, Int32) GetComments(Uri, Int32, Int32) 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.

GetComments(Uri, Int32, Int32, DateTime) GetComments(Uri, Int32, Int32, DateTime) 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.

GetComments(UserProfile) GetComments(UserProfile) GetComments(UserProfile)

Retrieves all of the social comments created by the specified user.

GetComments(UserProfile, Int32) GetComments(UserProfile, Int32) GetComments(UserProfile, Int32)

Retrieves social comments created by the specified user, up to the specified maximum number to retrieve.

GetComments(UserProfile, Int32, Int32) GetComments(UserProfile, Int32, Int32) 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.

GetComments(UserProfile, Uri) GetComments(UserProfile, Uri) GetComments(UserProfile, Uri)

Retrieves all of the social comments created by the specified user for the specified URL.

GetCount(Uri) GetCount(Uri) GetCount(Uri)

Gets a count of all social comments created for the specified URL.

GetCount(UserProfile) GetCount(UserProfile) GetCount(UserProfile)

Gets a count of all social comments created by the specified user.

GetCount(UserProfile, Uri) GetCount(UserProfile, Uri) GetCount(UserProfile, Uri)

Gets a count of all social comments created by the specified user for the specified URL.

GetUserProfile(Int64) GetUserProfile(Int64) GetUserProfile(Int64)

Retrieves a user profile corresponding to the specified user record ID.

(Inherited from SocialDataManager)

Properties

IsSocialAdmin IsSocialAdmin IsSocialAdmin Inherited from SocialDataManager

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to