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


Application.GeneratorEnabled Property

Gets a value indicating if the application's generator is enabled.

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

Синтаксис

'Декларация
Public ReadOnly Property GeneratorEnabled As Boolean
public bool GeneratorEnabled { get; }
public:
property bool GeneratorEnabled {
    bool get ();
}
/** @property */
public boolean get_GeneratorEnabled ()
public function get GeneratorEnabled () : boolean

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

true if the generator is enabled; otherwise false.

Замечания

When you create an application, its generator is disabled.

An enabled generator can fire rules that generate notifications or perform other data management tasks for the application. A disabled generator is essentially paused.

Use the instance's Enable method to enable all instance components. Use the application's Enable method to enable all application components. Use generator's Enable method to enable the generator.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

Другие ресурсы

Контроль работы экземпляра и приложений