Web.GetPushNotificationSubscribersByUser - Méthode
Queries for the push notification subscribers for the site for the specified user.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function GetPushNotificationSubscribersByUser ( _
userName As String _
) As PushNotificationSubscriberCollection
'Utilisation
Dim instance As Web
Dim userName As String
Dim returnValue As PushNotificationSubscriberCollection
returnValue = instance.GetPushNotificationSubscribersByUser(userName)
public PushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(
string userName
)
Paramètres
userName
Type : System.StringLogin name of the user.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.PushNotificationSubscriberCollection
Collection of push notification subscribers.
Remarques
It must not be une référence Null (Rien dans Visual Basic). It must not be empty.