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
- deviceAppInstanceId
Type: System.Guid
Return value
Type: System.Boolean
True if the subscription exists.