ColleagueManager.CreateWithoutEmailNotification Method
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function CreateWithoutEmailNotification ( _
colleague As UserProfile, _
colleagueGroupType As ColleagueGroupType, _
strGroup As String, _
isInWorkgroup As Boolean, _
privacyLevel As Privacy _
) As Colleague
'Usage
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
)
Parameters
- colleague
Type: Microsoft.Office.Server.UserProfiles.UserProfile
- colleagueGroupType
Type: Microsoft.Office.Server.UserProfiles.ColleagueGroupType
- strGroup
Type: System.String
- isInWorkgroup
Type: System.Boolean
- privacyLevel
Type: Microsoft.Office.Server.UserProfiles.Privacy
Return Value
Type: Microsoft.Office.Server.UserProfiles.Colleague