Share via


Self.GetAlertLevelForNotification method

Returns the AlertLevel that represents the current policy for notifications.

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function GetAlertLevelForNotification ( _
    senderIdentity As String, _
    notificationTypes As NotificationTypes, _
    notificationUrgency As NotificationUrgencyType _
) As AlertLevel
'Usage
Dim instance As Self
Dim senderIdentity As String
Dim notificationTypes As NotificationTypes
Dim notificationUrgency As NotificationUrgencyType
Dim returnValue As AlertLevel

returnValue = instance.GetAlertLevelForNotification(senderIdentity, _
    notificationTypes, notificationUrgency)
public AlertLevel GetAlertLevelForNotification(
    string senderIdentity,
    NotificationTypes notificationTypes,
    NotificationUrgencyType notificationUrgency
)

Parameters

Return value

Type: Microsoft.Lync.Model.AlertLevel
Microsoft.Lync.Model.AlertLevel. The alert level for notification.

Remarks

The state of an AlertLevel changes when a user's presence is changed to do-not-disturb or the user joins a meeting as a presenter and shares a display. When AlertLevel.NotificationEnabled is False, New conversation invititations must not be displayed.

See also

Reference

Self class

Self members

Microsoft.Lync.Model namespace