Item(System.Guid) Property

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

Parameters

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.

Remarks

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security