SPWorkflowTemplate.Id Property

Gets the workflow template ID, which uniquely identifies workflow associations that are based on this template.

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 Id As Guid
    Get
'Usage
Dim instance As SPWorkflowTemplate
Dim value As Guid

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

Property Value

Type: System.Guid
A Guid that represents the workflow template ID.

Remarks

For workflow templates, the BaseId property is the same as the Id property.

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation