StateChangeEventAttribute-Konstruktor (String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
Namespace: Microsoft.SqlServer.Management.Facets
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Sub New ( _
eventName As String, _
targetType As String _
)
'Usage
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
)
Parameter
- eventName
Typ: System. . :: . .String
A String object that specifies the state change event.
- targetType
Typ: System. . :: . .String
A String object that specifies the target.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.