DatabaseMailEnabled 属性

Gets or sets the DatabaseMailEnabled property value.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("DatabaseMailEnabledDesc")> _
<DisplayNameKeyAttribute("DatabaseMailEnabledName")> _
Property DatabaseMailEnabled As Boolean
    Get
    Set
用法
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)

属性值

类型:System. . :: . .Boolean
Boolean