WorkflowSubscriptionService.PublishSubscriptionForList method
Namespace: Microsoft.SharePoint.Client.WorkflowServices
Assembly: Microsoft.SharePoint.Client.WorkflowServices (in Microsoft.SharePoint.Client.WorkflowServices.dll)
Syntax
'Declaration
Public Overridable Function PublishSubscriptionForList ( _
subscription As WorkflowSubscription, _
listId As Guid _
) As ClientResult(Of Guid)
'Usage
Dim instance As WorkflowSubscriptionService
Dim subscription As WorkflowSubscription
Dim listId As Guid
Dim returnValue As ClientResult(Of Guid)
returnValue = instance.PublishSubscriptionForList(subscription, _
listId)
public virtual ClientResult<Guid> PublishSubscriptionForList(
WorkflowSubscription subscription,
Guid listId
)
Parameters
- subscription
Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowSubscription
- listId
Type: System.Guid
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Guid>
See also
Reference
WorkflowSubscriptionService class