File.PurgeFiles Method

Purges a given list of files completely from the system - this is _really_ dangerous, be warned!
Public Shared Sub PurgeFiles( _ 
ByVal file_ids As List(Of EntityID), _ 
ByVal purge_project_id As EntityID, _ 
ByVal db As IDatabase, _ 
ByVal client As IClient
)
This language is not supported or no code example is available.
public static void PurgeFiles( 
List<EntityID> file_ids
EntityID purge_project_id
IDatabase db
IClient client 
)
This language is not supported or no code example is available.
public:  
static void PurgeFiles( 
List<EntityID^>^ file_ids
EntityID^ purge_project_id
IDatabase^ db
IClient^ client 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

file_ids
List<EntityID>

the ids of the files

purge_project_id
EntityID

if we are purging a project, this will be set - it allows us to do look ups for referenced files

db
IDatabase

the database we're using

client
IClient

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition