StateChangeEventAttribute 建構函式 (String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
命名空間: 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
A String object that specifies the state change event.
- targetType
型別:System.String
A String object that specifies the target.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。