LimitFilter.MaximumValue Property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public ReadOnly Property MaximumValue As UInteger
    Get
'Usage
Dim instance As LimitFilter
Dim value As UInteger

value = instance.MaximumValue
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public uint MaximumValue { get; }

Property Value

Type: System.UInt32
The maximum number of entity instances that can be returned by this Limit filter.

Remarks

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.

See Also

Reference

LimitFilter Class

LimitFilter Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace