Compartir a través de


: LimitFilter.MaximumValue (Propiedad) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Specifies a hard limit to what a user can set this limit filter value to be.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public ReadOnly Property MaximumValue As UInteger
'Uso
Dim instance As LimitFilter
Dim value As UInteger

value = instance.MaximumValue
public uint MaximumValue { get; }

Valor de propiedad

The maximum number of entity instances that can be returned by this Limit filter.

Comentarios

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.

Vea también

Referencia

LimitFilter (Clase)
LimitFilter (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)