ColleagueManager 类

提供方法来添加、 删除、 检索和管理用户的同事。

继承层次结构

System.Object
  Microsoft.Office.Server.UserProfiles.PrivacyItemManagerBase<Colleague>
    Microsoft.Office.Server.UserProfiles.ColleagueManager

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ColleagueManager _
    Inherits PrivacyItemManagerBase(Of Colleague)
用法
Dim instance As ColleagueManager
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ColleagueManager : PrivacyItemManagerBase<Colleague>

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

ColleagueManager 成员

Microsoft.Office.Server.UserProfiles 命名空间