SensitivityClassification 构造函数

定义

重载

SensitivityClassification(IList<Label>, IList<InformationType>, IList<ColumnSensitivity>)
SensitivityClassification(IList<Label>, IList<InformationType>, IList<ColumnSensitivity>, SensitivityRank)

初始化 SensitivityClassification 类的新实例。

SensitivityClassification(IList<Label>, IList<InformationType>, IList<ColumnSensitivity>)

public:
 SensitivityClassification(System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::Label ^> ^ labels, System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::InformationType ^> ^ informationTypes, System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::ColumnSensitivity ^> ^ columnSensitivity);
public SensitivityClassification (System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.Label> labels, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.InformationType> informationTypes, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity> columnSensitivity);
new Microsoft.Data.SqlClient.DataClassification.SensitivityClassification : System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.Label> * System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.InformationType> * System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity> -> Microsoft.Data.SqlClient.DataClassification.SensitivityClassification
Public Sub New (labels As IList(Of Label), informationTypes As IList(Of InformationType), columnSensitivity As IList(Of ColumnSensitivity))

参数

labels
IList<Label>
informationTypes
IList<InformationType>
columnSensitivity
IList<ColumnSensitivity>

适用于

SensitivityClassification(IList<Label>, IList<InformationType>, IList<ColumnSensitivity>, SensitivityRank)

初始化 SensitivityClassification 类的新实例。

public:
 SensitivityClassification(System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::Label ^> ^ labels, System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::InformationType ^> ^ informationTypes, System::Collections::Generic::IList<Microsoft::Data::SqlClient::DataClassification::ColumnSensitivity ^> ^ columnSensitivity, Microsoft::Data::SqlClient::DataClassification::SensitivityRank sensitivityRank);
public SensitivityClassification (System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.Label> labels, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.InformationType> informationTypes, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity> columnSensitivity, Microsoft.Data.SqlClient.DataClassification.SensitivityRank sensitivityRank = Microsoft.Data.SqlClient.DataClassification.SensitivityRank.NOT_DEFINED);
public SensitivityClassification (System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.Label> labels, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.InformationType> informationTypes, System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity> columnSensitivity, Microsoft.Data.SqlClient.DataClassification.SensitivityRank sensitivityRank);
new Microsoft.Data.SqlClient.DataClassification.SensitivityClassification : System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.Label> * System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.InformationType> * System.Collections.Generic.IList<Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity> * Microsoft.Data.SqlClient.DataClassification.SensitivityRank -> Microsoft.Data.SqlClient.DataClassification.SensitivityClassification
Public Sub New (labels As IList(Of Label), informationTypes As IList(Of InformationType), columnSensitivity As IList(Of ColumnSensitivity), Optional sensitivityRank As SensitivityRank = Microsoft.Data.SqlClient.DataClassification.SensitivityRank.NOT_DEFINED)
Public Sub New (labels As IList(Of Label), informationTypes As IList(Of InformationType), columnSensitivity As IList(Of ColumnSensitivity), sensitivityRank As SensitivityRank)

参数

labels
IList<Label>

标签列表。

informationTypes
IList<InformationType>

信息类型的列表。

columnSensitivity
IList<ColumnSensitivity>

列敏感度列表。

sensitivityRank
SensitivityRank

与活动“SqlDataReader”关联的查询的相对敏感度排名。

适用于