共用方式為


DataRuleProblemSuppressionContext.Rule 屬性

取得或設定偵測到問題的規則。

命名空間:  Microsoft.Data.Schema.StaticCodeAnalysis
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Property Rule As DataRule
    Get
    Private Set
public DataRule Rule { get; private set; }
public:
property DataRule^ Rule {
    DataRule^ get ();
    private: void set (DataRule^ value);
}
member Rule : DataRule with get, private set
function get Rule () : DataRule
private function set Rule (value : DataRule)

屬性值

型別:Microsoft.Data.Schema.StaticCodeAnalysis.DataRule

.NET Framework 安全性

請參閱

參考

DataRuleProblemSuppressionContext 類別

Microsoft.Data.Schema.StaticCodeAnalysis 命名空間