LimitFilter.MaximumValue 属性 (Microsoft.Office.Server.ApplicationRegistry.Runtime)
Specifies a hard limit to what a user can set this limit filter value to be.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public ReadOnly Property MaximumValue As UInteger
用法
Dim instance As LimitFilter
Dim value As UInteger
value = instance.MaximumValue
public uint MaximumValue { get; }
属性值
The maximum number of entity instances that can be returned by this Limit filter.
备注
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.
另请参阅
参考
LimitFilter 类
LimitFilter 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间