Export (0) Print
Expand All

SocialFeedManager.LockThread method

SharePoint 2013

Locks the specified thread.

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

'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)

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:
© 2014 Microsoft