SmtpServices Property

The SmtpServices property of the Server class gets the collection of SmtpService objects associated with the Server instance.

Property Value

An SmtpServiceCollection that contains the SmtpService objects associated with the Server instance.

Remarks

The SmtpServices property calls the proc_getServicesByClass stored procedure with the appropriate service class ID and the server ID to retrieve the list of Service objects of the specified class associated with the Server instance from the Services table in the configuration database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security