共用方式為


SqlServerSqlVulnerabilityAssessmentCollection.GetAll Method

Definition

Lists SQL Vulnerability Assessment policies associated with a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments
  • Operation Id: SqlVulnerabilityAssessmentsSettings_ListByServer
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerSqlVulnerabilityAssessmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SqlServerSqlVulnerabilityAssessmentResource that may take multiple service requests to iterate over.

Applies to