ISurfaceAreaFacet.SqlMailEnabled Property
Gets or sets a value that indicates whether the Sql mail is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<DisplayNameKeyAttribute("SqlMailEnabledName")> _
<DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")> _
Property SqlMailEnabled As Boolean
Get
Set
'Kullanım
Dim instance As ISurfaceAreaFacet
Dim value As Boolean
value = instance.SqlMailEnabled
instance.SqlMailEnabled = value
[DisplayNameKeyAttribute("SqlMailEnabledName")]
[DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")]
bool SqlMailEnabled { get; set; }
[DisplayNameKeyAttribute(L"SqlMailEnabledName")]
[DisplayDescriptionKeyAttribute(L"SqlMailEnabledDesc")]
property bool SqlMailEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("SqlMailEnabledName")>]
[<DisplayDescriptionKeyAttribute("SqlMailEnabledDesc")>]
abstract SqlMailEnabled : bool with get, set
function get SqlMailEnabled () : boolean
function set SqlMailEnabled (value : boolean)
Property Value
Type: System.Boolean
True if the Sql mail is enabled; otherwise, false.