SqlMailEnabled 属性

Gets or sets the SqlMailEnabled property value.

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

语法

声明
<DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")> _
<DisplayNameKeyAttribute("SqlMailEnabledName")> _
Property SqlMailEnabled As Boolean
    Get
    Set
用法
Dim instance As ISurfaceAreaFacet
Dim value As Boolean

value = instance.SqlMailEnabled

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

属性值

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