Item(System.Guid) Property

The Item property of the SmtpServiceCollection class gets an SmtpService object from the collection with the specified identifier.

Parameters

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

Property Value

A Microsoft.SharePoint.Portal.Topology.SmtpService that represents an object in the SmtpServiceCollection.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security