DataSourceCapabilities Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a way to request processing beyond record retrieval for a data retrieval operation of a data source control.
This enumeration supports a bitwise combination of its member values.
public enum class DataSourceCapabilities
[System.Flags]
public enum DataSourceCapabilities
[<System.Flags>]
type DataSourceCapabilities =
Public Enum DataSourceCapabilities
- Inheritance
- Attributes
Fields
None | 0 | Represents no paging, sorting, or total row count retrieval capabilities. |
Page | 2 | Represents the capability to page through the rows returned by an ExecuteSelect(DataSourceSelectArguments) operation. |
RetrieveTotalRowCount | 4 | Represents the capability to retrieve a total row count of data, which corresponds to using the SelectCount value. |
Sort | 1 | Represents the capability to sort through the rows returned by an ExecuteSelect(DataSourceSelectArguments) operation. |
Remarks
Data source controls use the DataSourceCapabilities enumeration in conjunction with the DataSourceSelectArguments class to request paging, sorting, or other select-specific capabilities when performing a data retrieval operation. The requested capabilities are checked against the actual capabilities of the data source control during the data retrieval operation, and if they do not match an exception is raised.
This enumeration supports the FlagsAttribute attribute, which enables you to use more than one member at a time.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기