次の方法で共有


SPContentType.UpdateWorkflowAssociationsOnChildren method

Propagates changes in this content type’s workflow associations to content types that are based on this content type. The content types that receive the updates can be derived content types, list versions of the current content type, or both derived and list versions of the content type.

Overload list

  Name Description
Public method UpdateWorkflowAssociationsOnChildren() Propagates changes in this content type’s workflow associations to content types that are derived from this content type and also to instances of this content type that have been applied to lists.
Public method UpdateWorkflowAssociationsOnChildren(Boolean) Propagates changes in this content type’s workflow associations to content types that are derived from this content type and also to instances of this content type that have been applied to lists. Optionally flags objects touched by the operation as changed.
Public method UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean) Propagates changes in this content type’s workflow associations to content types that are derived from this content type, or to instances of this content type that have been applied to lists, or to both. Optionally flags objects touched by the operation as changed.
Public method UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean, Boolean) Propagates changes in this content type’s workflow associations to content types that are derived from this content type or to instances of this content type that have been applied to lists, or to both. Optionally marks objects touched by the operation as changed. Also optionally suppresses exceptions that are thrown because a child is either sealed or read-only.

Top

See also

Reference

SPContentType class

SPContentType members

Microsoft.SharePoint namespace

AddWorkflowAssociation

Other resources

Introduction to Workflows in Windows SharePoint Services

Workflow Stages