Поделиться через


Свойство DatabaseMailEnabled

Gets or sets the Boolean value that determines whether the referenced property is enabled.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Property DatabaseMailEnabled As Boolean
    Get
    Set
'Применение
Dim instance As ServerAdapterBase
Dim value As Boolean

value = instance.DatabaseMailEnabled

instance.DatabaseMailEnabled = value
public bool DatabaseMailEnabled { get; set; }
public:
virtual property bool DatabaseMailEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract DatabaseMailEnabled : bool with get, set
override DatabaseMailEnabled : bool with get, set
final function get DatabaseMailEnabled () : boolean
final function set DatabaseMailEnabled (value : boolean)

Значение свойства

Тип: System. . :: . .Boolean
A Boolean value whether the referenced property is enabled.
If True, the property is enabled. Otherwise, False.