Settings.MailProfile Property

 

Gets or sets the mail profile for the instance of SQL Server.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string MailProfile { get; set; }

Property Value

Type: System.String

A String value that specifies the name of the mail profile for the instance of SQL Server.

The mail profile enables SQL Server Agent to send and receive e-mails.

Return to top
Show: