Dela via


AzureSqlElasticJobTargetCmdletBase<TInputObject>.PersistChanges Method

Definition

Sends the changes to the service -> Creates or updates the target if necessary

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

Parameters

updatedTargets
IEnumerable<AzureSqlElasticJobTargetModel>

The list of updated targets

Returns

The target that was created/updated or null if nothing changed.

Applies to