Partilhar via


NonHostedEventProvider.ActivationState Property

Gets the current state of the non-hosted 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

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

Remarks

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

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

Other Resources

Defining Non-Hosted Event Providers