ProjectProblemSuppressor.CreateSuppressor ProjectProblemSuppressor.CreateSuppressor ProjectProblemSuppressor.CreateSuppressor Method

Definition

Overloads

CreateSuppressor(String) CreateSuppressor(String) CreateSuppressor(String)

Creates a new ProjectProblemSuppressor.

CreateSuppressor(String, String) CreateSuppressor(String, String) CreateSuppressor(String, String)

Creates a new ProjectProblemSuppressor.

CreateSuppressor(String) CreateSuppressor(String) CreateSuppressor(String)

Creates a new ProjectProblemSuppressor.

public static Microsoft.SqlServer.Dac.CodeAnalysis.ProjectProblemSuppressor CreateSuppressor (string projectFolder);
static member CreateSuppressor : string -> Microsoft.SqlServer.Dac.CodeAnalysis.ProjectProblemSuppressor
Public Shared Function CreateSuppressor (projectFolder As String) As ProjectProblemSuppressor

Parameters

projectFolder
String String String

The folder in which the XML Message suppression file is found. Any rule suppressed using a relative file path will base the full path off this folder location.

Returns

Exceptions

Thrown if the Path to the XML file was invalid or if there was a problem parsing the XML

CreateSuppressor(String, String) CreateSuppressor(String, String) CreateSuppressor(String, String)

Creates a new ProjectProblemSuppressor.

public static Microsoft.SqlServer.Dac.CodeAnalysis.ProjectProblemSuppressor CreateSuppressor (string projectFolder, string suppressionFilename);
static member CreateSuppressor : string * string -> Microsoft.SqlServer.Dac.CodeAnalysis.ProjectProblemSuppressor
Public Shared Function CreateSuppressor (projectFolder As String, suppressionFilename As String) As ProjectProblemSuppressor

Parameters

projectFolder
String String String

The folder in which the XML Message suppression file is found. Any rule suppressed using a relative file path will base the full path off this folder location.

suppressionFilename
String String String

' The name of the XML message suppression file. This is expected to be under the project folder.

Returns

Exceptions

Thrown if the Path to the XML file was invalid or if there was a problem parsing the XML

Applies to