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 版本支持此命名空间、类或成员。