Compartir a través de


MailAccount.DisplayName Propiedad

Gets or sets the name of the mail account that is displayed in messages.

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

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DisplayName As String 
    Get 
    Set
'Uso
Dim instance As MailAccount 
Dim value As String 

value = instance.DisplayName

instance.DisplayName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string DisplayName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member DisplayName : string with get, set
function get DisplayName () : String 
function set DisplayName (value : String)

Valor de la propiedad

Tipo: System.String
A String value that contains the display name of the mail account.

Ejemplos

Utilizar el correo electrónico de base de datos

Vea también

Referencia

MailAccount Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Mail

Otros recursos

Correo electrónico de base de datos