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

MockAdlsClient.EnumerateDirectory 方法

定义

返回给定目录下包含的条目列表

public override System.Collections.Generic.IEnumerable<Microsoft.Azure.DataLake.Store.DirectoryEntry> EnumerateDirectory (string path, Microsoft.Azure.DataLake.Store.UserGroupRepresentation userIdFormat = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, System.Threading.CancellationToken cancelToken = default);
override this.EnumerateDirectory : string * Microsoft.Azure.DataLake.Store.UserGroupRepresentation * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.DirectoryEntry>
Public Overrides Function EnumerateDirectory (path As String, Optional userIdFormat As UserGroupRepresentation = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, Optional cancelToken As CancellationToken = Nothing) As IEnumerable(Of DirectoryEntry)

参数

path
String

目录或文件的路径

userIdFormat
UserGroupRepresentation

用户或组 ID 格式

cancelToken
CancellationToken

取消令牌

返回

适用于