Partager via


DataLakeStoreFrontEndAdapter.GetStreamLength(String, Boolean) Méthode

Définition

Obtient une valeur indiquant la longueur d’un flux, en octets.

public long GetStreamLength (string streamPath, bool isDownload = false);
abstract member GetStreamLength : string * bool -> int64
override this.GetStreamLength : string * bool -> int64
Public Function GetStreamLength (streamPath As String, Optional isDownload As Boolean = false) As Long

Paramètres

streamPath
String

Chemin d’accès relatif au flux.

isDownload
Boolean

si la valeur true est définie sur [est téléchargé], ce qui signifie que nous obtiendrons la longueur du flux sur l’ordinateur local plutôt que sur le serveur.

Retours

Longueur du flux, en octets.

Implémente

Exceptions

S’applique à