PeopleManager.StopFollowing 方法
Have the current user stop following the specified user.
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Public Sub StopFollowing ( _
accountName As String _
)
用法
Dim instance As PeopleManager
Dim accountName As String
instance.StopFollowing(accountName)
public void StopFollowing(
string accountName
)
参数
accountName
类型:System.StringThe account name of the user to stop following.
异常
异常 | 条件 |
---|---|
UserNotFoundException | |
ArgumentNullException |