Udostępnij za pośrednictwem


Właściwość ISurfaceAreaFacet.DatabaseMailEnabled

Pobiera lub ustawia wartość właściwość DatabaseMailEnabled.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<DisplayNameKeyAttribute("DatabaseMailEnabledName")> _
<DisplayDescriptionKeyAttribute("DatabaseMailEnabledDesc")> _
Property DatabaseMailEnabled As Boolean
    Get
    Set
'Użycie
Dim instance As ISurfaceAreaFacet
Dim value As Boolean

value = instance.DatabaseMailEnabled

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

Wartość właściwości

Typ: System.Boolean
Boolean