TaxonomyNavigationCacheConfig.MaximumCacheSizeInBytes - Propriété
Obtient ou définit un entier long qui spécifie la taille maximale pour le cache de navigation de taxonomie.
Espace de noms : Microsoft.SharePoint.Publishing.Navigation
Assembly : Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)
Syntaxe
'Déclaration
Public Property MaximumCacheSizeInBytes As Long
Get
Set
'Utilisation
Dim instance As TaxonomyNavigationCacheConfig
Dim value As Long
value = instance.MaximumCacheSizeInBytes
instance.MaximumCacheSizeInBytes = value
public long MaximumCacheSizeInBytes { get; set; }
Valeur de propriété
Type : System.Int64
Un entier long qui spécifie la taille maximale pour le cache de navigation de taxonomie (autrement dit, la propriété CurrentCachedBytes .
Remarques
La valeur de cette propriété définit la taille maximale pour la propriété CurrentCachedBytes . La taille maximale n'est pas une limite maximale. La limite peut être dépassée temporairement jusqu'à la prochaine opération de nettoyage du cache. Est autorisé à spécifier zéro comme limite, auquel cas tous les objets sont libérées chaque fois que se produit l'opération de nettoyage.
Cette propriété est thread-safe. Un état distinct est stocké pour chaque instance de serveur SharePoint.
Voir aussi
Référence
TaxonomyNavigationCacheConfig classe