Aracılığıyla paylaş


IServerSettings.MailProfile Property

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

'Bildirim
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
<DisplayNameKeyAttribute("Server_MailProfileName")> _
Property MailProfile As String
    Get
    Set
'Kullanım
Dim instance As IServerSettings
Dim value As String

value = instance.MailProfile

instance.MailProfile = value
[DisplayDescriptionKeyAttribute("Server_MailProfileDesc")]
[DisplayNameKeyAttribute("Server_MailProfileName")]
string MailProfile { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_MailProfileDesc")]
[DisplayNameKeyAttribute(L"Server_MailProfileName")]
property String^ MailProfile {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")>]
[<DisplayNameKeyAttribute("Server_MailProfileName")>]
abstract MailProfile : string with get, set
function get MailProfile () : String
function set MailProfile (value : String)

Property Value

Type: System.String
The mail profile for an instance of SQL Server.

See Also

Reference

IServerSettings Interface

Microsoft.SqlServer.Management.Smo Namespace