Constructeur Trigger (SqlSmoObject, String)
Initializes a new instance of the Trigger class on the specified object, and with the specified name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'Utilisation
Dim parent As SqlSmoObject
Dim name As String
Dim instance As New Trigger(parent, _
name)
public Trigger(
SqlSmoObject parent,
string name
)
public:
Trigger(
SqlSmoObject^ parent,
String^ name
)
new :
parent:SqlSmoObject *
name:string -> Trigger
public function Trigger(
parent : SqlSmoObject,
name : String
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object value that specifies the parent of the trigger.
- name
Type : System.String
A String value that specifies the name of the trigger.
Exemples
Création, modification et suppression de déclencheurs
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo