共用方式為


SPWorkflowAssociation.ParentAssociationId Property

Gets the unique ID of the parent association in the parent content type of the content type of this association.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ParentAssociationId As Guid
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Guid

value = instance.ParentAssociationId
public Guid ParentAssociationId { get; }

Property Value

Type: System.Guid
The ID of the parent.

Examples

This property is used when the ContentTypePushDown property is true. It contains the ID of the parent association from which this association was pushed down.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation