Gets or sets the name of the mail account that is displayed in messages.
命名空間: Microsoft.SqlServer.Management.Smo.Mail
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DisplayName As String
Get
Set
'用途
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)
屬性值
型別:System.String
A String value that contains the display name of the mail account.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Mail 命名空間