共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.SPPushNotificationSubscriber
已註冊的推入通知訂閱者 」。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace