Compartir a través de


Espacio de nombres Microsoft.SqlServer.Management.Smo.Mail

The Microsoft.SqlServer.Management.Smo.Mail namespace contains classes that represent the Microsoft SQL Server Database Mail service.

The Microsoft.SqlServer.Management.Smo.Mail namespace resides in the Micrsoft.SqlServer.Smo.dll. When you add a reference to the dll in your program, you can import this namespace and reference all the classes in it.

By using the SMO Mail objects, you can do the following:

  • Create and modify mail accounts.

  • Create and modify mail profiles.

  • Configure mail servers.

Clases

  Clase Descripción
Clase pública ConfigurationValue The ConfigurationValue class represents a SQL Server Database Mail subsystem configuration option.
Clase pública ConfigurationValueCollection The ConfigurationValueCollection class represents a collection of ConfigurationValue objects that represent all the configuration options defined on the SQL Server Database Mail subsystem.
Clase pública MailAccount The MailAccount class represents a SQL Server Database Mail subsystem mail account.
Clase pública MailAccountCollection The MailAccountCollection class represents a collection of MailAccount objects that represent all the mail accounts defined on the SQL Server Database Mail subsystem.
Clase pública MailProfile The MailProfile class represents a SQL Server Database Mail subsystem mail profile.
Clase pública MailProfileCollection The MailProfileCollection class represents a collection of MailProfile objects that represent all the mail profiles defined on the SQL Server Database Mail subsystem.
Clase pública MailServer The MailServer class represents a SQL Server Database Mail subsystem mail server.
Clase pública MailServerCollection The MailServerCollection class represents a collection of MailServer objects that represent all the mail servers defined on the SQL Server Database Mail subsystem.
Clase pública SqlMail The SqlMail class represents the SQL Server Database Mail subsystem.