Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the mail account that is displayed in messages.
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DisplayName As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that contains the display name of the mail account.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo.Mail Namespace