你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlDatabaseSqlVulnerabilityAssessmentScanResource.GetSqlDatabaseSqlVulnerabilityAssessmentScanResult 方法

定义

获取数据库的漏洞评估扫描记录。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/scanResultId}
  • 操作IdDatabaseSqlVulnerabilityAssessmentScanResult_Get
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentScanResultResource> GetSqlDatabaseSqlVulnerabilityAssessmentScanResult (string scanResultId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseSqlVulnerabilityAssessmentScanResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentScanResultResource>
override this.GetSqlDatabaseSqlVulnerabilityAssessmentScanResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentScanResultResource>
Public Overridable Function GetSqlDatabaseSqlVulnerabilityAssessmentScanResult (scanResultId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlDatabaseSqlVulnerabilityAssessmentScanResultResource)

参数

scanResultId
String

要检索的特定结果的扫描结果 ID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

scanResultId 是一个空字符串,预期为非空。

scanResultId 为 null。

适用于