Partilhar via


SPItemEventProperties.RelativeWebUrl Property

Gets the server-relative URL of the Web site that is associated with the event that occurred.

Namespace:  Microsoft.SharePoint
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 SPItemEventProperties
Dim value As String

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

Property Value

Type: System.String
A string that contains the server-relative URL of the Web site, for example, /Site_Name.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace