Share via


SPUserCodeWorkflowContext.SiteUrl Property

Gets or sets the absolute URL of the root web of the SPSite that is associated with the workflow.

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

Syntax

'Declaration
Public Property SiteUrl As String
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As String

value = instance.SiteUrl

instance.SiteUrl = value
public string SiteUrl { get; set; }

Property Value

Type: System.String
The URL of the root web of the SPSite that is associated with the workflow.

See Also

Reference

SPUserCodeWorkflowContext Class

SPUserCodeWorkflowContext Members

Microsoft.SharePoint.UserCode Namespace