Index a file
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function IndexFile( _
ByVal file As FileInfo, _
ByVal project_id As EntityID, _
ByVal file_change_id As EntityID, _
ByVal version As Integer, _
ByVal change_owner_id As EntityID, _
ByVal change_time As Date, _
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 project_id,
EntityID file_change_id,
int version,
EntityID change_owner_id,
DateTime change_time,
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^ project_id,
EntityID^ file_change_id,
int version,
EntityID^ change_owner_id,
DateTime change_time,
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,
project_id : EntityID,
file_change_id : EntityID,
version : int,
change_owner_id : EntityID,
change_time : DateTime,
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
- project_id
-
Type: EntityID
- file_change_id
-
Type: EntityID
the file change id
- version
-
Type: int
the version
- change_owner_id
-
Type: EntityID
- change_time
-
Type: DateTime
- 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