Site.ShowUrlStructure 属性

Gets or sets a value that specifies whether the URL structure of this site collection is viewable.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Property ShowUrlStructure As Boolean
    Get
    Set
用法
Dim instance As Site
Dim value As Boolean

value = instance.ShowUrlStructure

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

属性值

类型:System.Boolean
Returns Booleantrue if the URL structure is viewable or otherwise returns false.

异常

异常 条件
UnauthorizedAccessException

The current user has insufficient permissions. Either the user is not a site collection administrator, or the setting is disabled at the Web application level. Error code: -2147024891.

备注

See Web.ShowURLStructureForCurrentUser, which is the method for determining the behavior for the current user. The default, if not disabled on the Web application, is false.

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间