This property specifies the source string that identifies a gather Search catalog.
Syntax
IBuildCatalog.NotificationSource [=Source]
Settings
Source
The source string that identifies a gather Search catalog.
Remarks
This property is ignored if the ProjectType property is Crawl. The notification string with which you call the IGatherNotify.Init method must match this property.
Example
The following example sets the notification source for the KMSampleCatalog1 catalog definition to NotificationTest.
Option Explicit
On Error Resume Next
Const Notification = 0
Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs
Set objCatalog = objCatalogs("KMSampleCatalog1")
objCatalog.ProjectType = Notification
objCatalog.NotificationSource = "NotificationTest"
'Release objects
Set objCatalog = Nothing
Set objCatalogs = Nothing
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing
See Also