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.
Siehe auch
Aufgaben
How to: Create a Database Mail Account by Using Visual Basic .NET