다음을 통해 공유


PortalNavigation.GlobalIncludeSubSites Property

Controls whether sub-site's of this site will be automatically included in its global navigation.

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

Syntax

'Declaration
Public Property GlobalIncludeSubSites As Boolean
    Get
    Set
'Usage
Dim instance As PortalNavigation
Dim value As Boolean

value = instance.GlobalIncludeSubSites

instance.GlobalIncludeSubSites = value
public bool GlobalIncludeSubSites { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

To save changes after setting this property, call the PublishingWeb.Update method.

See Also

Reference

PortalNavigation Class

PortalNavigation Members

Microsoft.SharePoint.Publishing.Navigation Namespace