共用方式為


SPWorkflowEventProperties.RelativeWebUrl Property

Gets the URL for the current Web site relative to the SharePoint Server URL.

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

Syntax

'Declaration
Public ReadOnly Property RelativeWebUrl As String
    Get
'Usage
Dim instance As SPWorkflowEventProperties
Dim value As String

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

Property Value

Type: System.String
The URL for the current Web site relative to the SharePoint Server URL.

See Also

Reference

SPWorkflowEventProperties Class

SPWorkflowEventProperties Members

Microsoft.SharePoint.Workflow Namespace