Web.DoesPushNotificationSubscriberExist method
Returns a Boolean value that indicates whether the push notification subscriber exists for the current user with the given device app instance identifier.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function DoesPushNotificationSubscriberExist ( _
deviceAppInstanceId As Guid _
) As ClientResult(Of Boolean)
'Usage
Dim instance As Web
Dim deviceAppInstanceId As Guid
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.DoesPushNotificationSubscriberExist(deviceAppInstanceId)
public ClientResult<bool> DoesPushNotificationSubscriberExist(
Guid deviceAppInstanceId
)
Parameters
deviceAppInstanceId
Type: System.GuidDevice application instance identifier.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
true if the subscription exists.