CrossListQueryInfo.WebUrl Property

Gets or sets the Web URL to run the Collaborative Application Markup Language (CAML) query on.

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

Syntax

'Declaration
Public Property WebUrl As String
    Get
    Set
'Usage
Dim instance As CrossListQueryInfo
Dim value As String

value = instance.WebUrl

instance.WebUrl = value
public string WebUrl { get; set; }

Property Value

Type: System.String

Remarks

Including a trailing slash in the value of the WebUrl parameter negatively impacts cache behavior and is not recommended.

See Also

Reference

CrossListQueryInfo Class

CrossListQueryInfo Members

Microsoft.SharePoint.Publishing Namespace

CrossListQueryInfo

Lists

Query

RowLimit

ShowUntargetedItems

UseCache

ViewFields

Webs