共用方式為


SPWorkflowAssociation.BaseId Property

Gets the ID of the workflow template on which this workflow association is based.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property BaseId As Guid
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Guid

value = instance.BaseId
[ClientCallableAttribute]
public Guid BaseId { get; }

Property Value

Type: System.Guid
The workflow template ID.

Remarks

Accessing this property is the same as accessing the SPWorkflowAssociation.BaseTemplate.Id property.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

BaseTemplate

Id

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation