You have a site that utilizes the built-in team site definition.
You define a function named EnableSitesandLists. The function will take an SPWeb object of the site that you want to navigate to.
You need to ensure that your site navigation displays a listing of child sites and lists.
Which code segment should you use?
A.
Protected Sub EnableSitesandLists(ByVal web As SPWeb)
web.QuickLaunchEnabled = True
web.Update
End Sub
B.
Protected Sub EnableSitesandLists(ByVal web As SPWeb)
web.TreeViewEnabled = True
web.Update
End Sub
C.
Protected Sub EnableSitesandLists(ByVal web As SPWeb)
web.Navigation.UseShared = True
web.Update
End Sub
D.
Protected Sub EnableSitesandLists(ByVal web As SPWeb)
web.QuickLaunchEnabled = False
web.Update
End Sub