StateChangeEventAttribute クラス
StateChangeEventAttribute クラスには、ポリシー ベースの管理の State Change イベントにアタッチされている属性が含まれています。
継承階層
System.Object
System.Attribute
Microsoft.SqlServer.Management.Facets.StateChangeEventAttribute
名前空間: Microsoft.SqlServer.Management.Facets
アセンブリ: Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)
構文
'宣言
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class StateChangeEventAttribute _
Inherits Attribute
'使用
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
StateChangeEventAttribute 型は、以下のメンバーを公開しています。
コンストラクター
名前 | 説明 | |
---|---|---|
StateChangeEventAttribute(String, String) | 指定されたイベントおよび対象に対応する StateChangeEventAttribute クラスの新しいインスタンスを初期化します。 | |
StateChangeEventAttribute(String, String, String) | 指定されたイベント、対象の型、および対象の型のエイリアスに対応する StateChangeEventAttribute クラスの新しいインスタンスを初期化します。 |
先頭に戻る
プロパティ
名前 | 説明 | |
---|---|---|
EventName | イベントの名前を取得します。 | |
TargetType | 対象の型を取得します。 | |
TargetTypeAlias | 対象の型のエイリアスを取得します。 | |
TypeId | (Attribute から継承されています。) |
先頭に戻る
メソッド
名前 | 説明 | |
---|---|---|
Equals | (Attribute から継承されています。) | |
GetHashCode | (Attribute から継承されています。) | |
GetType | (Object から継承されています。) | |
IsDefaultAttribute | (Attribute から継承されています。) | |
Match | (Attribute から継承されています。) | |
ToString | (Object から継承されています。) |
先頭に戻る
明示的なインターフェイスの実装
名前 | 説明 | |
---|---|---|
_Attribute.GetIDsOfNames | (Attribute から継承されています。) | |
_Attribute.GetTypeInfo | (Attribute から継承されています。) | |
_Attribute.GetTypeInfoCount | (Attribute から継承されています。) | |
_Attribute.Invoke | (Attribute から継承されています。) |
先頭に戻る
説明
属性の使い方の詳細については、「Extending Metadata Using Attributes」を参照してください。
この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。
スレッド セーフ
この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。