共用方式為


Web.AllowRevertFromTemplateForCurrentUser 屬性

取得指出目前的使用者是否可以將網站回復至預設網站範本的値。

命名空間:  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 ReadOnly Property AllowRevertFromTemplateForCurrentUser As Boolean
    Get
'用途
Dim instance As Web
Dim value As Boolean

value = instance.AllowRevertFromTemplateForCurrentUser
public bool AllowRevertFromTemplateForCurrentUser { get; }

屬性值

類型:System.Boolean
如果以還原網站預設網站範本,以允許目前的使用者,則傳回Booleantrue否則,傳回false。

備註

此屬性的預設值為 false,但如果目前的使用者是網站管理員為 true。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間