SPWeb.RegisterPushNotificationSubscriber method
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function RegisterPushNotificationSubscriber ( _
deviceAppInstanceId As Guid, _
serviceToken As String _
) As SPPushNotificationSubscriber
'用途
Dim instance As SPWeb
Dim deviceAppInstanceId As Guid
Dim serviceToken As String
Dim returnValue As SPPushNotificationSubscriber
returnValue = instance.RegisterPushNotificationSubscriber(deviceAppInstanceId, _
serviceToken)
public SPPushNotificationSubscriber RegisterPushNotificationSubscriber(
Guid deviceAppInstanceId,
string serviceToken
)
參數
- deviceAppInstanceId
Type: System.Guid
- serviceToken
Type: System.String
傳回值
Type: Microsoft.SharePoint.SPPushNotificationSubscriber
已註冊的推入通知訂閱者 」。