次の方法で共有


SPWebApplication.ShowURLStructure property

Gets or sets a Boolean value that specifies whether users are allowed to see the file structures of Web sites.

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

Syntax

'Declaration
Public Property ShowURLStructure As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.ShowURLStructure

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

Property value

Type: System.Boolean
Boolean
true to allow users to see file structures; otherwise, false. The default value is true.

Exceptions

Exception Condition
SecurityException

The property cannot be set because the current user is not a farm administrator.

Remarks

This property is not meant to serve as a security feature, but as a convenience for administration of the Web application.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace