共用方式為


SPSite.GetAllReusableAcls method (Int32)

傳回符合指定限制的網站集合的可重複使用的存取控制清單 (Acl)。

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

Syntax

'宣告
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
    Type: System.Int32

    32 位元的整數,指定要傳回的 Acl 的最大數目。如果網站集合中的唯一 Acl 數目超過maximumNumberToFetch所指定的值,會傳回任何東西。

傳回值

Type: System.Collections.Generic.IDictionary<Guid, SPReusableAcl>
System.Collections.Generic.IDictionary介面,代表可重複使用 Acl 的網站集合的集合。

Exceptions

Exception Condition
MaxAclExceeded

在系統中的 Acl 數目超過要求的限制。

請參閱

參照

SPSite class

SPSite members

GetAllReusableAcls overload

Microsoft.SharePoint namespace