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
- senderIdentity
Type: System.String
- notificationTypes
Type: Microsoft.Lync.Model.NotificationTypes
- notificationUrgency
Type: Microsoft.Lync.Model.NotificationUrgencyType
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.