Compartilhar via


Classe StateChangeEventAttribute

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 (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
Public NotInheritable Class StateChangeEventAttribute _
    Inherits Attribute
'Uso
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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.