Share via

SocialFeedManager.LockThread method

Locks the specified thread.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)


Public Function LockThread ( _
    threadId As String _
) As ClientResult(Of SocialThread)
Dim instance As SocialFeedManager
Dim threadId As String
Dim returnValue As ClientResult(Of SocialThread)

returnValue = instance.LockThread(threadId)
public ClientResult<SocialThread> LockThread(
    string threadId


  • 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.

See also


SocialFeedManager class

SocialFeedManager members

Microsoft.SharePoint.Client.Social namespace