Share via


SPWorkflowAssociationCollection.UpdateCore method

Updates the specified workflow association in the collection.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)> _
Protected Sub UpdateCore ( _
    id As Guid, _
    associationTemplate As SPWorkflowAssociation, _
    list As SPList _
)
'Usage
Dim id As Guid
Dim associationTemplate As SPWorkflowAssociation
Dim list As SPList

Me.UpdateCore(id, associationTemplate, _
    list)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
protected void UpdateCore(
    Guid id,
    SPWorkflowAssociation associationTemplate,
    SPList list
)

Parameters

  • id
    Type: System.Guid

    The GUID of the old workflow association.

Remarks

This method updates the specified workflow association in the content database to provide the core implementation for updating a workflow association.

If the ParentWeb parameter is null , throws an ArgumentNullException. If workflow instances based on this workflow association can be started manually, but the user does not have permissions, an ArgumentException is thrown.

See also

Reference

SPWorkflowAssociationCollection class

SPWorkflowAssociationCollection members

Microsoft.SharePoint.Workflow namespace