共用方式為


FileSystemOperationsExtensions.GetFileStatus Method

Definition

Get the file status object specified by the file path.

public static Microsoft.Azure.Management.DataLake.Store.Models.FileStatusResult GetFileStatus (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string getFilePath, bool? tooId = default);
public static Microsoft.Azure.Management.DataLake.Store.Models.FileStatusResult GetFileStatus (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, bool? tooId = default);
static member GetFileStatus : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> -> Microsoft.Azure.Management.DataLake.Store.Models.FileStatusResult
static member GetFileStatus : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<bool> -> Microsoft.Azure.Management.DataLake.Store.Models.FileStatusResult
<Extension()>
Public Function GetFileStatus (operations As IFileSystemOperations, accountName As String, getFilePath As String, Optional tooId As Nullable(Of Boolean) = Nothing) As FileStatusResult
<Extension()>
Public Function GetFileStatus (operations As IFileSystemOperations, accountName As String, path As String, Optional tooId As Nullable(Of Boolean) = Nothing) As FileStatusResult

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

getFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory for which to retrieve the status.

tooId
Nullable<Boolean>

An optional switch to return friendly names in place of owner and group. tooid=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

Returns

Applies to