次の方法で共有


PoolOperations.DeleteNodeFile メソッド

定義

指定したコンピューティング ノードから指定したファイルを削除します。

public void DeleteNodeFile (string poolId, string computeNodeId, string filePath, bool? recursive = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.DeleteNodeFile : string * string * string * Nullable<bool> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub DeleteNodeFile (poolId As String, computeNodeId As String, filePath As String, Optional recursive As Nullable(Of Boolean) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

poolId
String

コンピューティング ノードを含むプールの ID。

computeNodeId
String

コンピューティング ノードの ID。

filePath
String

削除するファイルのパス。

recursive
Nullable<Boolean>

file-path パラメーターがファイルではなくディレクトリを表す場合は、オプションの再帰パラメーターを true に設定して、ディレクトリとその中のすべてのファイルとサブディレクトリを削除できます。 recursive が false の場合、ディレクトリは空である必要があります。削除は失敗します。

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

これはブロック操作です。 非ブロッキングに相当するものについては、「」を参照してください DeleteNodeFileAsync(String, String, String, Nullable<Boolean>, IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象