SocialFeedManager.LockThread method

Locks the specified thread.

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

Syntax

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

returnValue = instance.LockThread(threadId)
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.

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.

See also

Reference

SocialFeedManager class

SocialFeedManager members

Microsoft.SharePoint.Client.Social namespace