ColleagueManager.CreateWithoutEmailNotification 方法
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Public Function CreateWithoutEmailNotification ( _
colleague As UserProfile, _
colleagueGroupType As ColleagueGroupType, _
strGroup As String, _
isInWorkgroup As Boolean, _
privacyLevel As Privacy _
) As Colleague
用法
Dim instance As ColleagueManager
Dim colleague As UserProfile
Dim colleagueGroupType As ColleagueGroupType
Dim strGroup As String
Dim isInWorkgroup As Boolean
Dim privacyLevel As Privacy
Dim returnValue As Colleague
returnValue = instance.CreateWithoutEmailNotification(colleague, _
colleagueGroupType, strGroup, isInWorkgroup, _
privacyLevel)
public Colleague CreateWithoutEmailNotification(
UserProfile colleague,
ColleagueGroupType colleagueGroupType,
string strGroup,
bool isInWorkgroup,
Privacy privacyLevel
)
参数
- colleague
类型:Microsoft.Office.Server.UserProfiles.UserProfile
- colleagueGroupType
类型:Microsoft.Office.Server.UserProfiles.ColleagueGroupType
- strGroup
类型:System.String
- isInWorkgroup
类型:System.Boolean
- privacyLevel
类型:Microsoft.Office.Server.UserProfiles.Privacy
返回值
类型:Microsoft.Office.Server.UserProfiles.Colleague