共用方式為


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>

備註

顯示如何停止的程式碼範例下列項目,請參閱How to: Follow people by using the .NET client object model in SharePoint 2013How to: Follow documents and sites by using the .NET client object model in SharePoint 2013

請參閱

參照

SocialFollowingManager 類別

SocialFollowingManager 成員

Microsoft.SharePoint.Client.Social 命名空間