Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the StateChangeEventAttribute class for the specified event and target.
Espace de noms : Microsoft.SqlServer.Management.Facets
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Sub New ( _
eventName As String, _
targetType As String _
)
'Utilisation
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
)
Paramètres
- eventName
Type : System.String
A String object that specifies the state change event.
- targetType
Type : System.String
A String object that specifies the target.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Voir aussi
Référence
StateChangeEventAttribute Classe