Share via


MailAccount Constructor

Initializes a new instance of the MailAccount class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New MailAccount()
public MailAccount()
public:
MailAccount()
new : unit -> MailAccount
public function MailAccount()

Remarks

The default constructor initializes any fields to their default values.

Examples

Using Database Mail

See Also

Reference

MailAccount Class

MailAccount Overload

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail