| title | Data discovery and classification in SqlClient | |
|---|---|---|
| description | Describes how to check if a SQL Server database supports data classification and how to access data classification information through a SqlDataReader object. | |
| ms.date | 06/15/2020 | |
| dev_langs |
|
|
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| author | johnnypham | |
| ms.author | v-jopha | |
| ms.reviewer |
[!INCLUDEappliesto-netfx-netcore-netst-md]
[!INCLUDEDriver_ADONET_Download]
Data Discovery & Classification is a set of advanced services for discovering, classifying, labeling & reporting the sensitive data in your databases. SqlClient provides an API exposing read-only Data Discovery and Classification information when the underlying source supports the feature. This information is accessed through SqlDataReader.
This sample application demonstrates how to access the Data Classification properties of SqlDataReader.
[!code-csharp SqlDataReader_DataDiscoveryAndClassification#1]
See also