IndexService Class

The IndexService class represents an instance of the Microsoft SharePoint Portal Server Search (SharePointPSSearch) service that creates content indexes. The SharePoint PS Search service creates full-text content indexes and provides searching over portal sites and external content.

System.Object

   Microsoft.SharePoint.Portal.Topology.Service

       Microsoft.SharePoint.Portal.Topology.IndexService

Public Constructors

The following table shows the constructors of the IndexService class and a brief description of each.

Name Description
IndexService Initializes a new instance of the IndexService class based on the specified server.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

The public constant ServiceClass defined in the IndexService class contains the GUID value that distinguishes an IndexService from other Microsoft Office SharePoint Portal Server 2003 services.

To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.

In addition, for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.

Requirements

Namespace: Microsoft.SharePoint.Portal.Topology

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security