FilesOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method deletes a file.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataMigration.IFilesOperations operations, string groupName, string serviceName, string projectName, string fileName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataMigration.IFilesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IFilesOperations, groupName As String, serviceName As String, projectName As String, fileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IFilesOperations
The operations group for this extension method.
- groupName
- String
Name of the resource group
- serviceName
- String
Name of the service
- projectName
- String
Name of the project
- fileName
- String
Name of the File
- cancellationToken
- CancellationToken
The cancellation token.