Compartilhar via


Propriedade do RDL Trigger.ID

Gets the ID value that uniquely identifies the trigger.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ID As Integer 
    Get
'Uso
Dim instance As Trigger 
Dim value As Integer 

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

Valor da propriedade

Tipo: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the trigger.

Exemplos

Criando, alterando e removendo gatilhos

Consulte também

Referência

Trigger Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Gatilhos DML

CREATE TRIGGER (Transact-SQL)