Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShowURLStructure property
Collapse the table of content
Expand the table of content

SPSite.ShowURLStructure property

Indicates whether to show the site collection URL structure.

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

public bool ShowURLStructure { get; set; }

Property value

Type: System.Boolean
A Boolean value depending on what the behavior should be for the current user. The default value is false if the property is not disabled on the web application.

Caution noteCaution

A UnauthorizedAccessException is thrown when attempting to set the property if either the user is not a Site Collection administrator or the setting is disabled at the web application level. See ShowUrlStructureForCurrentUser, which is the method for determining what current user behavior should be.

Show:
© 2015 Microsoft