Share via


MailProfile.Description Property

Gets or sets a textual description of the purpose of the mail profile.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Description As String 
    Get 
    Set
'Usage
Dim instance As MailProfile 
Dim value As String 

value = instance.Description

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

Property Value

Type: System.String
A String value that contains a textual description of the purpose of the mail profile.

Examples

Using Database Mail

See Also

Reference

MailProfile Class

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail