Share via


TableOfContentsDataSourceView.AnchorWeb Property

Gets or sets the site in the collection to start pulling sites and pages from.

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

Syntax

'Declaration
Public Property AnchorWeb As String
    Get
    Set
'Usage
Dim instance As TableOfContentsDataSourceView
Dim value As String

value = instance.AnchorWeb

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

Property Value

Type: System.String

See Also

Reference

TableOfContentsDataSourceView Class

TableOfContentsDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace