Server.MailProfile Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the mail profile of the server.

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

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public string MailProfile { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property String^ MailProfile {
    virtual String^ get() sealed;
    virtual void set(String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
abstract MailProfile : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
override MailProfile : string with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public Property MailProfile As String

Property Value

Type: System.String

The mail profile of the server.

Implements

IServerSettings.MailProfile

See Also

Server Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top