Index a file

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

Public Shared Function IndexFile( _ 
ByVal file As FileInfo, _ 
ByVal file_change_id As EntityID, _ 
ByVal version As Integer, _ 
ByVal extension As String, _ 
ByVal file_to_index As String, _ 
ByVal data_is_indexed As Boolean, _ 
ByVal db As IDatabase, _ 
ByVal index_now As Boolean
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse IndexFile( 
FileInfo file
EntityID file_change_id
int version
string extension
string file_to_index
bool data_is_indexed
IDatabase db
bool index_now 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ IndexFile( 
FileInfo^ file
EntityID^ file_change_id
int version
String^ extension
String^ file_to_index
bool data_is_indexed
IDatabase^ db
bool index_now 
)
This language is not supported or no code example is available.
public static function IndexFile( 
file : FileInfo
file_change_id : EntityID
version : int
extension : String
file_to_index : String
data_is_indexed : boolean
db : IDatabase
index_now : boolean 
) : OperationResponse;
This language is not supported or no code example is available.

Parameters

file
Type: FileInfo

file_change_id
Type: EntityID

the file change id

version
Type: int

the version

extension
Type: string

the

file_to_index
Type: string

the file we want to index

data_is_indexed
Type: bool

db
Type: IDatabase

the db connection to use

index_now
Type: bool

Return Value

Type: OperationResponse

.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