共用方式為


SPSecurityTokenServiceManager.MaxServiceTokenOptimisticCacheItems Property

Gets or sets the capacity of the of the backend service security token cache. The weak cache is the maximum size of the cache used optimistically when there is sufficient free memory.

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

Syntax

'Declaration
Public Property MaxServiceTokenOptimisticCacheItems As Integer
    Get
    Set
'Usage
Dim instance As SPSecurityTokenServiceManager
Dim value As Integer

value = instance.MaxServiceTokenOptimisticCacheItems

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

Property Value

Type: System.Int32
A Int32 value of the capacity of the of the backend service security token cache.

See Also

Reference

SPSecurityTokenServiceManager Class

SPSecurityTokenServiceManager Members

Microsoft.SharePoint.Administration.Claims Namespace