次の方法で共有


Site.AllowMasterPageEditing プロパティ

Gets or sets a value that specifies whether master page editing is allowed on this site collection.

名前空間:  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 AllowMasterPageEditing As Boolean
    Get
    Set
'使用
Dim instance As Site
Dim value As Boolean

value = instance.AllowMasterPageEditing

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

プロパティ値

型: System.Boolean
Returns Booleantrue if the value that specifies whether master page editing is allowed on this site collection or otherwise returns false.

例外

例外 条件
[System.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.AllowMasterPageEditingForCurrentUser, 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 名前空間