Share via


CommonServicesProvider.DeleteFile Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)

Usage

'Usage
Dim instance As CommonServicesProvider
Dim filename As String
Dim requestImpl As Object

instance.DeleteFile(filename, requestImpl)

Syntax

'Declaration
Public Sub DeleteFile ( _
    filename As String, _
    requestImpl As Object _
)
public void DeleteFile (
    string filename,
    Object requestImpl
)
public:
void DeleteFile (
    String^ filename, 
    Object^ requestImpl
)
public void DeleteFile (
    String filename, 
    Object requestImpl
)
public function DeleteFile (
    filename : String, 
    requestImpl : Object
)

Parameters

  • filename
  • requestImpl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

CommonServicesProvider Class
CommonServicesProvider Members
Microsoft.OneGet.ServicesProvider.Common Namespace