Partager via


Propriété ISurfaceAreaFacet.SqlMailEnabled

Gets or sets a value that indicates whether the Sql mail is enabled.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")> _
<DisplayNameKeyAttribute("SqlMailEnabledName")> _
Property SqlMailEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ISurfaceAreaFacet 
Dim value As Boolean 

value = instance.SqlMailEnabled

instance.SqlMailEnabled = value
[DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")]
[DisplayNameKeyAttribute("SqlMailEnabledName")]
bool SqlMailEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"SqlMailEnabledDesc")]
[DisplayNameKeyAttribute(L"SqlMailEnabledName")]
property bool SqlMailEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")>]
[<DisplayNameKeyAttribute("SqlMailEnabledName")>]
abstract SqlMailEnabled : bool with get, set
function get SqlMailEnabled () : boolean 
function set SqlMailEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
True if the Sql mail is enabled; otherwise, false.

Voir aussi

Référence

ISurfaceAreaFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo