StateChangeEventAttribute コンストラクター (String, String)
指定されたイベントおよび対象に対応する StateChangeEventAttribute クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Facets
アセンブリ: Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)
構文
'宣言
Public Sub New ( _
eventName As String, _
targetType As String _
)
'使用
Dim eventName As String
Dim targetType As String
Dim instance As New StateChangeEventAttribute(eventName, _
targetType)
public StateChangeEventAttribute(
string eventName,
string targetType
)
public:
StateChangeEventAttribute(
String^ eventName,
String^ targetType
)
new :
eventName:string *
targetType:string -> StateChangeEventAttribute
public function StateChangeEventAttribute(
eventName : String,
targetType : String
)
パラメーター
- eventName
型: System.String
State Change イベントを示す String オブジェクトです。
- targetType
型: System.String
対象を示す String オブジェクトです。
説明
この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。