Share via


StorageCloudBlobCmdletBase.GetExistDataLakeGen2Item Method

Definition

Get an Exist DataLakeGen2Item, return true is the item is a folder, return false if it's File

public static bool GetExistDataLakeGen2Item (Azure.Storage.Files.DataLake.DataLakeFileSystemClient fileSystem, string path, out Azure.Storage.Files.DataLake.DataLakeFileClient fileClient, out Azure.Storage.Files.DataLake.DataLakeDirectoryClient dirClient);
static member GetExistDataLakeGen2Item : Azure.Storage.Files.DataLake.DataLakeFileSystemClient * string * DataLakeFileClient * DataLakeDirectoryClient -> bool
Public Shared Function GetExistDataLakeGen2Item (fileSystem As DataLakeFileSystemClient, path As String, ByRef fileClient As DataLakeFileClient, ByRef dirClient As DataLakeDirectoryClient) As Boolean

Parameters

path
String

the path of the Items

fileClient
DataLakeFileClient

Returns

return true if the item is a folder, else false

Applies to