Trigger.TextHeader 属性

Gets or sets the header part of the Transact-SQL string that defines the trigger.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property TextHeader As String 
    Get 
    Set
用法
Dim instance As Trigger 
Dim value As String 

value = instance.TextHeader

instance.TextHeader = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string TextHeader { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property String^ TextHeader {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract TextHeader : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override TextHeader : string with get, set
final function get TextHeader () : String 
final function set TextHeader (value : String)

属性值

类型:System.String
A String value that specifies the text header from the definition of the trigger.

实现

ITextObject.TextHeader

示例

创建、更改和删除触发器

请参阅

参考

Trigger 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

DML 触发器

CREATE TRIGGER (Transact-SQL)