Partilhar via


Propriedade do RDL IServerSettings.MailProfile

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

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

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
<DisplayNameKeyAttribute("Server_MailProfileName")> _
Property MailProfile As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

IServerSettings Interface

Namespace Microsoft.SqlServer.Management.Smo