Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SocialFeedManager.LockThread method

SharePoint 2013

Locks the specified thread.

Namespace:  Microsoft.SharePoint.Client.Social
Assemblies:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (in Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (in Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public ClientResult<SocialThread> LockThread(
	string threadId
)

Parameters

threadId
Type: System.String

The unique identifier of the thread to lock.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialThread>
A digest of the thread with the modified thread attributes.

In the UI, the Reply and Like links are removed from a locked thread and a Locked status is shown. However, the thread can be unlocked from the UI.

Show:
© 2015 Microsoft