Share via


DdlTriggerBase.TextHeader Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public Overridable Property TextHeader As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
A String value that specifies the header text.

Implements

ITextObject.TextHeader

Examples

Calling Methods

See Also

Reference

DdlTriggerBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Triggers

CREATE TRIGGER (Transact-SQL)