Partager via


Propriété ServerDdlTrigger.ID

Gets the ID value that uniquely identifies the server data definition language (DDL) trigger.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
'Utilisation
Dim instance As ServerDdlTrigger 
Dim value As Integer 

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ID : int
function get ID () : int

Valeur de propriété

Type : System.Int32
An Int32 value that specifies the ID value of the server DDL trigger.

Exemples

Création, modification et suppression de déclencheurs

Voir aussi

Référence

ServerDdlTrigger Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Déclencheurs DDL

CREATE TRIGGER (Transact-SQL)