Export (0) Print
Expand All

SPSocialFollowingManager.StopFollowing method

SharePoint 2013

Removes the specified actor from the current user's list of followed actors.

Namespace:  Microsoft.Office.Server.Social
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

'Declaration
PublicFunctionStopFollowing ( _
	actorAsSPSocialActorInfo _
) AsBoolean
'Usage
DiminstanceAsSPSocialFollowingManagerDimactorAsSPSocialActorInfoDimreturnValueAsBooleanreturnValue = instance.StopFollowing(actor)

Parameters

actor
Type: Microsoft.Office.Server.Social.SPSocialActorInfo

The actor to stop following.

Return value

Type: System.Boolean
true if the current user is no longer following the specified actor; otherwise, false.

Community Additions

ADD
Show:
© 2014 Microsoft