SPUserCodeWorkflowContext.CurrentWebUrl property

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

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

Syntax

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

value = instance.CurrentWebUrl

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

Property value

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

See also

Reference

SPUserCodeWorkflowContext class

SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace