Condividi tramite


Proprietà DatabaseMailEnabled

Gets or sets the DatabaseMailEnabled property value.

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

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("DatabaseMailEnabledDesc")> _
<DisplayNameKeyAttribute("DatabaseMailEnabledName")> _
Property DatabaseMailEnabled As Boolean
    Get
    Set
'Utilizzo
Dim instance As ISurfaceAreaFacet
Dim value As Boolean

value = instance.DatabaseMailEnabled

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

Valore proprietà

Tipo: System. . :: . .Boolean
Boolean