共用方式為


DdlTriggerBase.TextHeader 屬性

Gets or sets the header text that is used in the definition of the database data definition language (DDL) trigger.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public Overridable Property TextHeader As String 
    Get 
    Set
'用途
Dim instance As DdlTriggerBase 
Dim value As String 

value = instance.TextHeader

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

屬性值

型別:System.String
A String value that specifies the header text.

實作

ITextObject.TextHeader

範例

呼叫方法

請參閱

參考

DdlTriggerBase 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

DDL 觸發程序

CREATE TRIGGER (Transact-SQL)