Compartilhar 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)
Available in Sandboxed Solutions: No

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