Compartir a través de


View.HasInsteadOfTrigger Propiedad

Gets the Boolean property value that specifies whether the view has any instead of triggers.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property HasInsteadOfTrigger As Boolean 
    Get
'Uso
Dim instance As View 
Dim value As Boolean 

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

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that specifies whether there an any instead of triggers defined on the view.If True, at least one of the view's triggers is defined as an instead of trigger.If False (default), there are no instead of triggers defined on the view.

Comentarios

An instead of trigger runs instead of the triggering statement.

Ejemplos

Crear, modificar y eliminar vistas

Vea también

Referencia

View Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Diseñar e implementar vistas

CREATE VIEW (Transact-SQL)