RE: How to add/remove a rule that includes content to (Non_Portal_Cont

From: Wei-Dong XU [MSFT] (v-wdxu_at_online.microsoft.com)
Date: 03/17/05


Date: Thu, 17 Mar 2005 10:00:23 GMT

Hi,

Based on my research, the SPS internally uses the two components below on
the searching. We can use the interface and obtain from the two to control
the SPS searching.
Sharepoint Portal Search CoClasses Type Library (reference the component at
VS.net, the namespace will be MSSCTLB)
Microsoft Search Interface Type Library (the namespace will be MSSITLB )

Please note: without any public documentation, please take your own risk at
using them. For your convenience, I list my understanding on the main
object/interface for you. This is not supported. Thanks for the
understanding!

//--------------------------------------------------------------------------

--
		MSSCTLB.SearchAdmin  		oAdmin;
		MSSITLB.IApplications		oApps;
		MSSITLB.IApplication2		oApp;
		MSSITLB.IBuildServer		oBuildServer;
		MSSITLB.IBuildCatalogs2		oCatalogs;
		MSSITLB.IBuildCatalog3		oCatalog;
                   oAdmin = new MSSCTLB.SearchAdmin();
                   oApps        = 
(MSSITLB.IApplications)oAdmin.Applications;
		oApp         = (IApplication2)oApps[appID];  //specify the application ID
		oBuildServer = (IBuildServer2)oApp.BuildServer;
		oCatalogs  = (IBuildCatalogs2)oBuildServer.BuildCatalogs;
		oCatalog	= (MSSITLB.IBuildCatalog3)oCatalogs[_Catalog]; //specify the 
catalog name
//--------------------------------------------------------------------------
--
Have a nice day!
Best Regards,
Wei-Dong XU
Microsoft Product Support Services
When responding to posts, please "Reply to Group" via your newsreader so 
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone 
support at no charge during critical LAN outages or "business down" 
situations. This benefit is available 24 hours a day, 7 days a week to all 
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS: 
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469 
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International 
Support page: 
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx. 
=====================================================
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


Relevant Pages