Item(System.Guid) Property

The Item property of the ServiceCollection class gets a Service object from the collection with the specified identifier.


serviceId The GUID of the Service object to return. This ID represents the primary key of the Service in the Services table of the configuration database.

Property Value

A Microsoft.SharePoint.Portal.Topology.Service that represents an object in the ServiceCollection.


The Item property calls the proc_getServiceById stored procedure to return the service that has serviceId as its primary key value in the Services table.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security