ISurfaceAreaFacet.DatabaseMailEnabled 属性

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

命名空间:  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
True if the database mail is enabled; otherwise, false.

请参阅

参考

ISurfaceAreaFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间