SPSite.GetAllReusableAcls 方法 (Int32)
Returns the reusable access control lists (ACLs) of the site collection up to a specified limit.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetAllReusableAcls ( _
maximumNumberToFetch As Integer _
) As IDictionary(Of Guid, SPReusableAcl)
用法
Dim instance As SPSite
Dim maximumNumberToFetch As Integer
Dim returnValue As IDictionary(Of Guid, SPReusableAcl)
returnValue = instance.GetAllReusableAcls(maximumNumberToFetch)
public IDictionary<Guid, SPReusableAcl> GetAllReusableAcls(
int maximumNumberToFetch
)
参数
maximumNumberToFetch
类型:System.Int32A 32-bit integer that specifies the maximum number of ACLs to return. If the number of unique ACLs in the site collection exceeds the value specified by maximumNumberToFetch, nothing is returned.
返回值
类型:System.Collections.Generic.IDictionary<Guid, SPReusableAcl>
A System.Collections.Generic.IDictionary interface that represents the collection of reusable ACLs of the site collection.
异常
异常 | 条件 |
---|---|
MaxAclExceeded | The number of ACLs in the system exceeds the requested limit. |