Costruttore StateChangeEventAttribute (String, String)
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
Spazio dei nomi: Microsoft.SqlServer.Management.Facets
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
eventName As String, _
targetType As String _
)
'Utilizzo
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
)
Parametri
- eventName
Tipo: System. . :: . .String
A String object that specifies the state change event.
- targetType
Tipo: System. . :: . .String
A String object that specifies the target.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.