Get information about the current version of a file

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

Public Shared Function GetCurrentVersionNumber( _ 
ByVal file_id As EntityID, _ 
ByVal db As IDatabase
) As Integer
This language is not supported or no code example is available.
public static int GetCurrentVersionNumber( 
EntityID file_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static int GetCurrentVersionNumber( 
EntityID^ file_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetCurrentVersionNumber( 
file_id : EntityID
db : IDatabase 
) : int;
This language is not supported or no code example is available.

Parameters

file_id
Type: EntityID

the id of the file

db
Type: IDatabase

the database connection to use

Return Value

Type: int

the version number - -1 if no it doesn't exist

.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