Compartir a través de


KeyVaultCmdletBase.GetAndWriteObjects<TObject> Method

Definition

Utility function that will continually iterate over the updated KeyVaultObjectFilterOptions until the options NextLink is null, and writes all the retrieved objects.

protected void GetAndWriteObjects<TObject> (Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions options, Func<Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions,System.Collections.Generic.IEnumerable<TObject>> getObjects);
member this.GetAndWriteObjects : Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions * Func<Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions, seq<'Object>> -> unit
Protected Sub GetAndWriteObjects(Of TObject) (options As KeyVaultObjectFilterOptions, getObjects As Func(Of KeyVaultObjectFilterOptions, IEnumerable(Of TObject)))

Type Parameters

TObject

The object type to write.

Parameters

options
KeyVaultObjectFilterOptions

The KeyVaultObjectFilterOptions

getObjects
Func<KeyVaultObjectFilterOptions,IEnumerable<TObject>>

Function that takes the options and returns a list of objects.

Applies to