StateChangeEventAttribute-Klasse
The StateChangeEventAttribute class contains the attribute that is attached to the state change event in policy-based management.
Vererbungshierarchie
System.Object
System.Attribute
Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute
Namespace: Microsoft.SqlServer.Management.Facets
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class StateChangeEventAttribute _
Inherits Attribute
'Usage
Dim instance As StateChangeEventAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class StateChangeEventAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = true)]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class StateChangeEventAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type StateChangeEventAttribute =
class
inherit Attribute
end
public final class StateChangeEventAttribute extends Attribute
Der StateChangeEventAttribute-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
![]() |
StateChangeEventAttribute(String, String) | Initializes a new instance of the StateChangeEventAttribute class for the specified event and target. |
![]() |
StateChangeEventAttribute(String, String, String) | Initializes a new instance of the StateChangeEventAttribute class for the specified event, target type and target type alias. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
![]() |
EventName | Gets the name of the event. |
![]() |
TargetType | Gets the type of target. |
![]() |
TargetTypeAlias | Gets the alias of the target type. |
![]() |
TypeId | (Geerbt von Attribute.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
![]() |
Equals | (Geerbt von Attribute.) |
![]() |
GetHashCode | (Geerbt von Attribute.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
IsDefaultAttribute | (Geerbt von Attribute.) |
![]() |
Match | (Geerbt von Attribute.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfo | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Geerbt von Attribute.) |
![]() ![]() |
_Attribute.Invoke | (Geerbt von Attribute.) |
Zum Anfang
Hinweise
For more information about using attributes, see Extending Metadata Using Attributes.
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.