Share via


StateChangeEventAttribute Class

The StateChangeEventAttribute class contains the represents the attribute that is attached to the state change event in policy-based management.

Namespace:  Microsoft.SqlServer.Management.Facets
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
Public NotInheritable Class StateChangeEventAttribute _
    Inherits Attribute
'Usage
Dim instance As StateChangeEventAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
public sealed class StateChangeEventAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = true)]
public ref class StateChangeEventAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)>]
type StateChangeEventAttribute =  
    class
        inherit Attribute
    end
public final class StateChangeEventAttribute extends Attribute

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

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

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute

Thread Safety

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