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

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