SPWorkflowAssociationCollection Members

Include Protected Members
Include Inherited Members

Represents the workflow associations on a SharePoint 2010 list.

The SPWorkflowAssociationCollection type exposes the following members.

Constructors

  Name Description
Protected method SPWorkflowAssociationCollection Initializes a new instance of the SPWorkflowAssociationCollection class.

Top

Properties

  Name Description
Public property Count Gets the total number of workflow associations in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Guid] Gets the workflow association with the specified GUID.
Public property Item[Int32] Gets the workflow association at the specified index.
Public property ParentList Gets the list in which the workflow association collection resides.
Public property ParentSite Gets the site collection on which the workflow association collection resides.
Public property ParentWeb Gets the site on which the workflow association collection resides.
Public property SoapXml Gets a string that represents the workflow association collection in XML format.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Adds the specified workflow association to the collection.
Protected method AddCore Adds the specified workflow association to the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAssociationByBaseID Returns the workflow association based on the workflow template ID.
Public method GetAssociationByName Returns the workflow association based on its name.
Protected method GetAssociationCore Gets the workflow associations with specified GUID from the collection.
Public methodStatic member GetAssociationForListItemById Returns the specified workflow association for a given list item.
Public method GetEnumerator (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method Remove(Guid) Removes a workflow association with the specified ID from the collection.
Public method Remove(SPWorkflowAssociation) Removes a workflow association from the collection.
Protected method SetUtilityLists Specifies the task list and history list for the specified SPWorkflowAssociation.
Public method ToString (Inherited from Object.)
Public method Update Updates the specified workflow association in the collection.
Public method UpdateAssociationsToLatestVersion Updates all workflow associations to the latest version of the workflows.
Protected method UpdateCore Updates the specified workflow association in the collection.
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPWorkflowAssociationCollection Class

Microsoft.SharePoint.Workflow Namespace