Share via


DkmTransportConnection.DeleteFile(String) Method

Definition

Delete a file on the target computer.

public:
 void DeleteFile(System::String ^ RemoteFilePath);
public:
 void DeleteFile(Platform::String ^ RemoteFilePath);
void DeleteFile(std::wstring const & RemoteFilePath);
public void DeleteFile (string RemoteFilePath);
member this.DeleteFile : string -> unit
Public Sub DeleteFile (RemoteFilePath As String)

Parameters

RemoteFilePath
String

[In] Path to the remote file that will be deleted. Environment variables will be expanded (ex: %TMP%\deploy.txt).

Applies to