Adds one capability to the DataSourceSelectArguments instance, which is used to compare supported capabilities and requested capabilities.
Assembly: System.Web (in System.Web.dll)
Data source controls call the method for each capability the data source supports. After the capabilities are added, any call to the RaiseUnsupportedCapabilitiesError(DataSourceView) method compares the supported capabilities against the requested capabilities (represented by setting the SortExpression, RetrieveTotalRowCount, MaximumRows, and StartRowIndex properties). For example, if a capability such as Sort is not added but the SortExpression property is set, the RaiseUnsupportedCapabilitiesError(DataSourceView) method throws a NotSupportedException exception.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.