Microsoft.SqlServer.Server.SqlTriggerAttribute Class

Used to mark a method definition in an assembly as a trigger in SQL Server. The properties on the attribute reflect the physical attributes used when the type is registered with SQL Server. This class cannot be inherited.

See Also: SqlTriggerAttribute Members


[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class SqlTriggerAttribute : Attribute


See "CLR Triggers" in SQL Server 2005 Books Online for more information on CLR triggers and examples.


Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in System.Data.dll)
Assembly Versions:
Since: .NET 2.0