SocialFollowingManager.StopFollowing 方法
将指定操作者从当前用户的已关注操作者列表中移除。
命名空间: Microsoft.SharePoint.Client.Social
程序集: Microsoft.SharePoint.Client.UserProfiles.Silverlight(位于 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone(位于 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles(位于 Microsoft.SharePoint.Client.UserProfiles.dll 中)
语法
声明
Public Function StopFollowing ( _
actor As SocialActorInfo _
) As ClientResult(Of Boolean)
用法
Dim instance As SocialFollowingManager
Dim actor As SocialActorInfo
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.StopFollowing(actor)
public ClientResult<bool> StopFollowing(
SocialActorInfo actor
)
参数
返回值
类型:Microsoft.SharePoint.Client.ClientResult<Boolean>
备注
显示如何停止的代码示例的以下各项,请参阅如何:使用 SharePoint 2013 中的 .NET 客户端对象模型关注好友和如何:使用 SharePoint 2013 中的 .NET 客户端对象模型关注文档和网站。