LimitFilter.MaximumValue, propriété (Microsoft.Office.Server.ApplicationRegistry.Runtime)
Specifies a hard limit to what a user can set this limit filter value to be.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public ReadOnly Property MaximumValue As UInteger
'Utilisation
Dim instance As LimitFilter
Dim value As UInteger
value = instance.MaximumValue
public uint MaximumValue { get; }
Valeur de la propriété
The maximum number of entity instances that can be returned by this Limit filter.
Remarques
For example, if you have a backend API that allows you to control how many rows come back, and hook up a limit filter to it, a user can still misuse it by setting a large value for the limit filter. Setting the maximum value of the limit filter will preclude this - it sets an upper bound for what the user can supply as a value to this filter.
Voir aussi
Référence
LimitFilter, classe
Membres LimitFilter
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms