Get the file history of a file

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetFileHistory( _ 
ByVal file_id As EntityID, _ 
ByVal retrieve_file_attributes As Boolean, _ 
ByVal db As IDatabase
) As IEnumerable(Of FileHistory)
This language is not supported or no code example is available.
public static IEnumerable<FileHistory> GetFileHistory( 
EntityID file_id
bool retrieve_file_attributes
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static IEnumerable<FileHistory^>^ GetFileHistory( 
EntityID^ file_id
bool retrieve_file_attributes
IDatabase^ db 
)
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_id
Type: EntityID

the id of the file to retrieve the history for

retrieve_file_attributes
Type: bool

whether or not to retrieve all file attributes

db
Type: IDatabase

the database connection to use

Return Value

Type: IEnumerable<FileHistory>

a dictionary of version to file history

.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