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

CertificateClient.GetDeletedCertificatesAsync 方法

定义

枚举保管库中已删除的证书。 此操作仅在启用了软删除的保管库上可用,并且需要证书/列表/获取权限。

public virtual Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate> GetDeletedCertificatesAsync (bool includePending = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
override this.GetDeletedCertificatesAsync : bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Security.KeyVault.Certificates.DeletedCertificate>
Public Overridable Function GetDeletedCertificatesAsync (Optional includePending As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedCertificate)

参数

includePending
Boolean

指定是否也包含处于删除挂起状态的证书。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

已删除证书的可枚举集合。

适用于