Spazio dei nomi 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.
Classi
Classe | Descrizione | |
---|---|---|
ConfigurationValue | The ConfigurationValue class represents a SQL Server Database Mail subsystem configuration option. | |
ConfigurationValueCollection | The ConfigurationValueCollection class represents a collection of ConfigurationValue objects that represent all the configuration options defined on the SQL Server Database Mail subsystem. | |
MailAccount | The MailAccount class represents a SQL Server Database Mail subsystem mail account. | |
MailAccountCollection | La classe MailAccountCollection rappresenta una raccolta di oggetti MailAccount che rappresentano tutti gli account di posta elettronica definiti nel sottosistema Posta elettronica database di SQL Server. | |
MailProfile | The MailProfile class represents a SQL Server Database Mail subsystem mail profile. | |
MailProfileCollection | The MailProfileCollection class represents a collection of MailProfile objects that represent all the mail profiles defined on the SQL Server Database Mail subsystem. | |
MailServer | The MailServer class represents a SQL Server Database Mail subsystem mail server. | |
MailServerCollection | The MailServerCollection class represents a collection of MailServer objects that represent all the mail servers defined on the SQL Server Database Mail subsystem. | |
SqlMail | La classe SqlMail rappresenta il sottosistema Posta elettronica database di SQL Server. |