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

BatchClient.DeleteNodeFile Method

Definition

Deletes the specified file from its compute node.

public void DeleteNodeFile (bool? recursive, Microsoft.Azure.Commands.Batch.Models.NodeFileOperationParameters parameters);
member this.DeleteNodeFile : Nullable<bool> * Microsoft.Azure.Commands.Batch.Models.NodeFileOperationParameters -> unit
Public Sub DeleteNodeFile (recursive As Nullable(Of Boolean), parameters As NodeFileOperationParameters)

Parameters

recursive
Nullable<Boolean>

If the file-path parameter represents a directory instead of a file, you can set the optional recursive parameter to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail..

parameters
NodeFileOperationParameters

Specifies which node file to delete.

Applies to