Share via


de la propiedad SPSite.ShowURLStructure

Indicates whether to show the site collection URL structure.

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
Public Property ShowURLStructure As Boolean
    Get
    Set
'Uso
Dim instance As SPSite
Dim value As Boolean

value = instance.ShowURLStructure

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

Valor de propiedad

Tipo: 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.

Comentarios

Advertencia

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.

Vea también

Referencia

clase SPSite

Miembros SPSite

Espacio de nombres Microsoft.SharePoint