Partilhar via


SPWorkflowAssociation.SiteId Property

Returns the site ID of the site collection on which the workflow association resides.

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

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

Property Value

Type: System.Guid
A Guid that represents the site ID.

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