Compartir a través de


MailProfile Propiedad

Gets or sets the MailProfile property for an instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayNameKeyAttribute("Server_MailProfileName")> _
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
Property MailProfile As String
    Get
    Set
'Uso
Dim instance As IServerSettings
Dim value As String

value = instance.MailProfile

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

Valor de la propiedad

Tipo: System. . :: . .String
String