共用方式為


SPSite.IsReadLocked property

設定或取得值,指定網站集合已經被鎖定,無法讀取存取。

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

Syntax

'宣告
Public Property IsReadLocked As Boolean
    Get
    Set
'用途
Dim instance As SPSite
Dim value As Boolean

value = instance.IsReadLocked

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

Property value

Type: System.Boolean
true如果網站集合已經被鎖定,無法讀取存取。否則, false。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace