SPSocialFeedManager.LockThread(String) SPSocialFeedManager.LockThread(String) SPSocialFeedManager.LockThread(String) Method

Definition

Locks the specified thread.

public:
 Microsoft::Office::Server::Social::SPSocialThread ^ LockThread(System::String ^ threadId);
[Microsoft.SharePoint.Client.ClientCallable]
public Microsoft.Office.Server.Social.SPSocialThread LockThread (string threadId);
Public Function LockThread (threadId As String) As SPSocialThread
Parameters
threadId
String String String

The unique identifier of the thread to lock.

Returns

A digest of the thread with the modified thread attributes.

Remarks

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.

Applies to