获取或设置列表的读取安全设置。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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; }
属性值
类型:System.Int32
32 位整数,指示的读取安全设置。可能值包括:
1的所有用户都具有对所有项目的读取权限。
2 -用户具有仅为他们创建的项目的读取权限。