다음을 통해 공유


Application.EventProvidersEnabled Property

Gets a value indicating if the application's event providers are enabled.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public ReadOnly Property EventProvidersEnabled As Boolean
public bool EventProvidersEnabled { get; }
public:
property bool EventProvidersEnabled {
    bool get ();
}
/** @property */
public boolean get_EventProvidersEnabled ()
public function get EventProvidersEnabled () : boolean

속성 값

true if event providers are enabled; otherwise false.

주의

When you create an application, its event providers are disabled.

An enabled event provider can submit events to an application. A disabled event provider cannot submit events.

Use the HostedEventProvider.Enable method to enable a single event provider. Use the Microsoft.SqlServer.Management.Nmo.HostedEventProviderCollection.Enable method to enable all event providers.

Use the instance's Enable method to enable all instance components, including the components for all applications hosted by the instance. Use the application's Enable method to enable all application components. Use a hosted event provider's Enable method to enable an individual hosted event provider.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

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

관련 자료

인스턴스 및 응용 프로그램 작동 제어