2 Commits

Author SHA1 Message Date
Developer01
a17eccfb99 Merge branch 'master' of http://git.dd:3000/AppStd/Modules 2024-11-19 13:21:59 +01:00
Developer01
daadc7771a MS Windream GetSearchDocuments DocIDIndexname Optional 2024-11-19 13:21:48 +01:00
2 changed files with 6 additions and 3 deletions

View File

@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.9.4.0")>
<Assembly: AssemblyFileVersion("1.9.4.0")>
<Assembly: AssemblyVersion("1.9.5.0")>
<Assembly: AssemblyFileVersion("1.9.5.0")>

View File

@@ -890,10 +890,13 @@ Public Class Windream
''' <param name="SearchFilePath">Path of a search file (*.wdf)</param>
''' <param name="DocIdIndexName">Index containing the Document-ID</param>
''' <returns>A datatable of the results with columns PATH and DOCID</returns>
Public Function GetSearchDocuments(SearchFilePath As String, DocIdIndexName As String) As DataTable
Public Function GetSearchDocuments(SearchFilePath As String, Optional DocIdIndexName As String = "") As DataTable
Dim oDatatable As New DataTable
oDatatable.Columns.Add("PATH", GetType(String))
oDatatable.Columns.Add("DOCID", GetType(Integer))
If DocIdIndexName = "" Then
DocIdIndexName = "Dokument-ID"
End If
If TestSessionLoggedIn() = False Then
Return oDatatable