ArmSqlModelFactory.SqlVulnerabilityAssessmentQueryCheck Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SqlVulnerabilityAssessmentQueryCheck.
public static Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck SqlVulnerabilityAssessmentQueryCheck (string query = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<string>> expectedResult = default, System.Collections.Generic.IEnumerable<string> columnNames = default);
static member SqlVulnerabilityAssessmentQueryCheck : string * seq<System.Collections.Generic.IList<string>> * seq<string> -> Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck
Public Shared Function SqlVulnerabilityAssessmentQueryCheck (Optional query As String = Nothing, Optional expectedResult As IEnumerable(Of IList(Of String)) = Nothing, Optional columnNames As IEnumerable(Of String) = Nothing) As SqlVulnerabilityAssessmentQueryCheck
Parameters
- query
- String
SQL Vulnerability Assessment rule query.
- expectedResult
- IEnumerable<IList<String>>
SQL Vulnerability Assessment query expected result.
- columnNames
- IEnumerable<String>
SQL Vulnerability Assessment column names of query expected result.
Returns
A new SqlVulnerabilityAssessmentQueryCheck instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET