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

The Add method of the IndexServiceCollection class adds the specified IndexService**** to the collection.


indexService The Microsoft.SharePoint.Portal.Topology.IndexService object to add.

Return Value

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


The Add method calls the proc_putService stored procedure to add the IndexService 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 indexService argument.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security