Share via


SPDataSourceView.WebURL property

Gets the server-relative URL of the Web site that the query operates against.

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

Syntax

'Declaration
Public ReadOnly Property WebURL As String
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As String

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

Property value

Type: System.String
A System.String object that contains a server-relative URL. An empty string indicates the root Web site in the site collection.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace