Server.IndexFile (FileInfo, EntityID, Int32, String, String, Boolean, IDatabase, Boolean) Method

Index a file
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
FileInfo

file_change_id
EntityID

the file change id

version
int

the version

extension
string

the

file_to_index
string

the file we want to index

data_is_indexed
bool

db
IDatabase

the db connection to use

index_now
bool

Return Value

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

In this article

Definition