Klasa StateChangeEventAttribute
StateChangeEventAttribute Klasa zawiera atrybut dołączony do zdarzenie zmiany stanu w zarządzanie oparte na zasadach.
Hierarchia dziedziczenia
System.Object
System.Attribute
Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute
Przestrzeń nazw: Microsoft.SqlServer.Management.Facets
Zestaw: Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)
Składnia
'Deklaracja
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class StateChangeEventAttribute _
Inherits Attribute
'Użycie
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
Typ StateChangeEventAttribute uwidacznia następujące elementy członkowskie.
Konstruktorzy
| Nazwa | Opis | |
|---|---|---|
![]() |
StateChangeEventAttribute(String, String) | Inicjuje nowe wystąpienie StateChangeEventAttribute klasy dla określonego zdarzenie i miejsce docelowe. |
![]() |
StateChangeEventAttribute(String, String, String) | Inicjuje nowe wystąpienie StateChangeEventAttribute klasy dla określonego zdarzenie typ miejsce docelowe i typ miejsce docelowe alias. |
Do góry
Właściwości
| Nazwa | Opis | |
|---|---|---|
![]() |
EventName | Pobiera nazwę zdarzenie. |
![]() |
TargetType | Pobiera typ miejsce docelowe. |
![]() |
TargetTypeAlias | Pobiera alias typ miejsce docelowe. |
![]() |
TypeId | (Dziedziczony z Attribute). |
Do góry
Metody
| Nazwa | Opis | |
|---|---|---|
![]() |
Equals | (Dziedziczony z Attribute). |
![]() |
Finalize | (Dziedziczony z Object). |
![]() |
GetHashCode | (Dziedziczony z Attribute). |
![]() |
GetType | (Dziedziczony z Object). |
![]() |
IsDefaultAttribute | (Dziedziczony z Attribute). |
![]() |
Match | (Dziedziczony z Attribute). |
![]() |
MemberwiseClone | (Dziedziczony z Object). |
![]() |
ToString | (Dziedziczony z Object). |
Do góry
Jawne implementacje interfejsu
| Nazwa | Opis | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Dziedziczony z Attribute). |
![]() ![]() |
_Attribute.GetTypeInfo | (Dziedziczony z Attribute). |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Dziedziczony z Attribute). |
![]() ![]() |
_Attribute.Invoke | (Dziedziczony z Attribute). |
Do góry
Uwagi
Aby uzyskać więcej informacji o korzystaniu z atrybutów, zobacz Extending Metadata Using Attributes.
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.
Bezpieczeństwo wątków
Wszystkie publiczne, statyczne (udostępnione w programie Microsoft Visual Basic) elementy członkowskie tego typu są bezpieczne dla operacji wielowątkowych. Nie ma gwarancji, że elementy członkowskie wystąpień będą bezpieczne dla wątków.
Bezpieczeństwo wątków
Wszystkie publiczne statyczny (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Nie ma gwarancji, że elementy członkowskie wystąpień będą bezpieczne dla wątków.
.gif)
.gif)
.gif)
.gif)
.gif)