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

DataLakeServiceClient.GetProperties(CancellationToken) 方法

定义

GetProperties(CancellationToken)操作获取存储帐户 Data Lake 服务的属性,包括 存储分析 和 CORS (跨域资源共享) 规则的属性。

有关详细信息,请参阅 获取 Blob 服务属性

public virtual Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeServiceProperties> GetProperties (System.Threading.CancellationToken cancellationToken = default);
abstract member GetProperties : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeServiceProperties>
override this.GetProperties : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeServiceProperties>
Public Overridable Function GetProperties (Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataLakeServiceProperties)

参数

cancellationToken
CancellationToken

可选 CancellationToken ,用于传播应取消操作的通知。

返回

描述 Response<T> 服务属性的 。

注解

RequestFailedException如果发生故障,将引发 。

适用于