SocialFollowingManager.StopFollowing method
Removes the specified actor from the current user's list of followed actors.
Namespace: Microsoft.SharePoint.Client.Social
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Function StopFollowing ( _
actor As SocialActorInfo _
) As ClientResult(Of Boolean)
'Usage
Dim instance As SocialFollowingManager
Dim actor As SocialActorInfo
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.StopFollowing(actor)
public ClientResult<bool> StopFollowing(
SocialActorInfo actor
)
Parameters
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
Remarks
For code examples that show how to stop following items, see How to: Follow people by using the .NET client object model in SharePoint 2013 and How to: Follow documents and sites by using the .NET client object model in SharePoint 2013.