Share via


HostedEventProvider.ActivationState Property

Gets the current state of the event provider.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Property ActivationState As NSActivationState
public NSActivationState ActivationState { get; }
public:
property NSActivationState ActivationState {
    NSActivationState get ();
}
/** @property */
public NSActivationState get_ActivationState ()
public function get ActivationState () : NSActivationState

Property Value

A NSActivationState object that specifies the current state of the event provider.

Remarks

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

An event provider can be enabled, disabled, enable pending, or disable pending. For more information about these states, see Viewing the Status of Instances, Applications, and Components.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Defining Hosted Event Providers
Viewing the Status of Instances, Applications, and Components