SqlMail.Accounts Property

 

Represents a collection of MailAccount objects. Each MailAccount object represents a SQL Server Database Mail account.

Namespace:   Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, 
	SfcContainerCardinality.ZeroToAny, typeof(MailAccount))]
public MailAccountCollection Accounts { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.Mail.MailAccountCollection

A MailAccountCollection that represents the mail accounts defined on the SQL Server Database Mail subsystem.

Return to top
Show: