Share via


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

Return value

Type: Microsoft.Office.Server.UserProfiles.Colleague

See also

Reference

ColleagueManager class

ColleagueManager members

Microsoft.Office.Server.UserProfiles namespace