다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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