共用方式為


DatabaseMailEnabled 屬性

Gets or sets the DatabaseMailEnabled property value.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("DatabaseMailEnabledName")> _
<DisplayDescriptionKeyAttribute("DatabaseMailEnabledDesc")> _
Property DatabaseMailEnabled As Boolean
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .Boolean
Boolean