WorkflowContext.CurrentWebUrl property

Gets the URL of the SharePoint 2010 website on which the workflow instance is located.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public ReadOnly Property CurrentWebUrl As String
    Get
'Usage
Dim instance As WorkflowContext
Dim value As String

value = instance.CurrentWebUrl
public string CurrentWebUrl { get; }

Property value

Type: System.String
The URL of the SPWeb on which the workflow instance is located.

See also

Reference

WorkflowContext class

WorkflowContext members

Microsoft.SharePoint.WorkflowActions namespace