Share via


SPWeb.DoesPushNotificationSubscriberExist method

Checks whether the push notification subscriber exist for the current user with the given device application instance ID.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function DoesPushNotificationSubscriberExist ( _
    deviceAppInstanceId As Guid _
) As Boolean
'Usage
Dim instance As SPWeb
Dim deviceAppInstanceId As Guid
Dim returnValue As Boolean

returnValue = instance.DoesPushNotificationSubscriberExist(deviceAppInstanceId)
public bool DoesPushNotificationSubscriberExist(
    Guid deviceAppInstanceId
)

Parameters

Return value

Type: System.Boolean
True if the subscription exists.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace