語言

SuppressedProblemInfo(String, RuleConfiguration) 建構函式

定義

為給定的來源名稱和規則建立SuppressedProblemInfo

public SuppressedProblemInfo(string sourceName, Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration rule);
new Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo : string * Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration -> Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo
Public Sub New (sourceName As String, rule As RuleConfiguration)

參數

sourceName
String

要被壓制的來源名稱。 這通常是磁碟檔案的路徑。

rule
RuleConfiguration

關於應該被排除問題的規則資訊

適用於