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