Share via


Add(Microsoft.SharePoint.Portal.Topology.SearchService) Method

The Add method of the SearchServiceCollection class adds the specified SearchService to the collection.

Parameters

searchService   The Microsoft.SharePoint.Portal.Topology.SearchService to add.

Return Value

The Microsoft.SharePoint.Portal.Topology.SearchService added to the collection.

Remarks

The Add method calls the proc_putService stored procedure to add the SearchService instance to the Services table in the configuration database, by populating the columns of a new row in the table with the properties of the searchService argument.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security