共用方式為


SPList.ReadSecurity property

取得或設定清單的 [讀取安全性設定。

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

Syntax

'宣告
Public Property ReadSecurity As Integer
    Get
    Set
'用途
Dim instance As SPList
Dim value As Integer

value = instance.ReadSecurity

instance.ReadSecurity = value
public int ReadSecurity { get; set; }

Property value

Type: System.Int32

32 位元整數,指出 [讀取] 安全性設定。可能的值包括:

  • 1 -所有使用者都具有讀取權限的所有項目。

  • 2 -使用者具有讀取只能存取他們所建立的項目。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace