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

Syntax

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

Remarks

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

Requirements

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