This property specifies whether the local schema file is used as the schema.
Syntax
IBuildCatalog.IsLocalFileSchema [=UseLocal]
Settings
UseLocal
If True, Search uses the local file as the schema; if False, Search does not use the local file as the schema.
Remarks
Local schema files only affect the individual catalog.
Example
The following example causes the KMSampleCatalog1 catalog definition to use the local schema file.
Option Explicit
On Error Resume Next
Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs
Set objCatalog = objCatalogs("KMSampleCatalog1")
objCatalog.IsLocalFileSchema = True
'Release objects
objCatalog = Nothing
Set objCatalogs = Nothing
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing
See Also