Sdílet prostřednictvím


AzureSqlElasticJobTargetCmdletBase<TInputObject>.ApplyUserInputToModel Method

Definition

Updates the existing list of targets with the new target if it doesn't already exist in the list.

protected override System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobTargetModel> ApplyUserInputToModel (System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobTargetModel> existingTargets);
override this.ApplyUserInputToModel : seq<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobTargetModel> -> seq<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobTargetModel>
Protected Overrides Function ApplyUserInputToModel (existingTargets As IEnumerable(Of AzureSqlElasticJobTargetModel)) As IEnumerable(Of AzureSqlElasticJobTargetModel)

Parameters

existingTargets
IEnumerable<AzureSqlElasticJobTargetModel>

The list of existing targets in the target group

Returns

An updated list of targets.

Applies to