Using Database Mail

In SMO, the Database Mail subsystem is represented by the SqlMail object that is referenced by the Mail property. By using the SMO SqlMail object, you can configure the Database Mail subsystem and manage profiles and mail accounts. The SMO SqlMail object belongs to the Server object, meaning that scope of the mail accounts is at the server level.

请参阅

任务

How to: Create a Database Mail Account by Using Visual Basic .NET

帮助和信息

获取 SQL Server 2005 帮助