Share via


IServerSettings.MailProfile Property

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

[DisplayNameKeyAttribute("Server_MailProfileName")]
[DisplayDescriptionKeyAttribute("Server_MailProfileDesc")]
string MailProfile { get; set; }
[DisplayNameKeyAttribute("Server_MailProfileName")]
[DisplayDescriptionKeyAttribute("Server_MailProfileDesc")]
property String^ MailProfile {
    String^ get();
    void set(String^ value);
}
[<DisplayNameKeyAttribute("Server_MailProfileName")>]
[<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")>]
abstract MailProfile : string with get, set
<DisplayNameKeyAttribute("Server_MailProfileName")>
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")>
Property MailProfile As String

Property Value

Type: System.String

The mail profile for an instance of SQL Server.

See Also

IServerSettings Interface
Microsoft.SqlServer.Management.Smo Namespace

Return to top