Item(System.Guid) Property

The Item property of the DatabaseServiceCollection class gets a DatabaseService object from the collection with the specified identifier.

Parameters

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

Property Value

A Microsoft.SharePoint.Portal.Topology.DatabaseService that represents an object in the DatabaseServiceCollection object.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security