Share via


MailProfile Constructor

Initializes a new instance of the MailProfile 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 MailProfile()
public MailProfile()
public:
MailProfile()
new : unit -> MailProfile
public function MailProfile()

Remarks

The default constructor initializes any fields to their default values.

Examples

Using Database Mail

See Also

Reference

MailProfile Class

MailProfile Overload

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail