SPSocialFollowingManager.StopFollowing method
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)
Syntax
'Declaration
Public Function StopFollowing ( _
actor As SPSocialActorInfo _
) As Boolean
'Usage
Dim instance As SPSocialFollowingManager
Dim actor As SPSocialActorInfo
Dim returnValue As Boolean
returnValue = instance.StopFollowing(actor)
public bool StopFollowing(
SPSocialActorInfo actor
)
Parameters
actor
Type: Microsoft.Office.Server.Social.SPSocialActorInfoThe actor to stop following.
Return value
Type: System.Boolean
true if the current user is no longer following the specified actor; otherwise, false.
See also
Reference
SPSocialFollowingManager class