Condividi tramite


Proprietà DisplayName

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property DisplayName As String
    Get
    Set
'Utilizzo
Dim instance As MailAccount
Dim value As String

value = instance.DisplayName

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

Valore proprietà

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