Version 2 index directories are easily converted to v3 format using the GUI tool included with the product, however in situations where this should be automated, the use of a DLL version is necessary; Usage: 1. Reference the DLL 2. Call the conversion method C# IndexDirectoryMigrator.Model.V2ToV3Convert(indexDirectoryPath, new IndexDirectoryMigrator.Model.AppendStatus(appendStatus)); where appendStatus is a method with signature void appendStatus(string m) { //can be empty, will be called with progress updates and status. } and indexDirectoryPath is a string with the absolute location of the index directory to convert. VB.NET IndexDirectoryMigrator.Model.V2ToV3Convert(indexDirectoryPath, New IndexDirectoryMigrator.Model.AppendStatus(addressof appendStatus)) where appendStatus is a method with signature sub appendStatus(m as string) 'can be empty, will be called with progress updates and status.
end sub and indexDirectoryPath is a string with the absolute location of the index directory to convert. |