PeopleManager.Follow 方法

Add the specified user to the current user's list of followed users.

命名空间:  Microsoft.SharePoint.Client.UserProfiles
程序集:   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 Sub Follow ( _
    accountName As String _
)
用法
Dim instance As PeopleManager
Dim accountName As String

instance.Follow(accountName)
public void Follow(
    string accountName
)

参数

备注

The recommended API to use for this task is SocialFollowingManager.Follow.

另请参阅

引用

PeopleManager 类

PeopleManager 成员

Microsoft.SharePoint.Client.UserProfiles 命名空间