Entity.Subscribe method
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function Subscribe ( _
eventType As EntityEventType, _
notificationCallback As NotificationCallback, _
onBehalfOfUser As String, _
subscriberName As String, _
lobSystemInstance As LobSystemInstance _
) As Subscription
'Usage
Dim instance As Entity
Dim eventType As EntityEventType
Dim notificationCallback As NotificationCallback
Dim onBehalfOfUser As String
Dim subscriberName As String
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Subscription
returnValue = instance.Subscribe(eventType, _
notificationCallback, onBehalfOfUser, _
subscriberName, lobSystemInstance)
public Subscription Subscribe(
EntityEventType eventType,
NotificationCallback notificationCallback,
string onBehalfOfUser,
string subscriberName,
LobSystemInstance lobSystemInstance
)
Parameters
- eventType
Type: Microsoft.BusinessData.Runtime.EntityEventType
- notificationCallback
Type: Microsoft.BusinessData.Runtime.NotificationCallback
- onBehalfOfUser
Type: System.String
- subscriberName
Type: System.String
- lobSystemInstance
Type: Microsoft.BusinessData.MetadataModel.LobSystemInstance
Return value
Type: Microsoft.BusinessData.Runtime.Subscription