KeyVaultSettingsClient.GetSetting(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified account setting.
public virtual Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting> GetSetting (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSetting : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting>
override this.GetSetting : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting>
Public Overridable Function GetSetting (name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultSetting)
Parameters
- name
- String
The name of the account setting. Must be a valid settings option.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A response containing the specified account setting.
Exceptions
name
is an empty string.
name
is null.
The server returned an error. See Message for details returned from the server.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET