Delen via


ScriptOption.Triggers Property

Gets an object value that specifies whether to include the definition for triggers in the generated script.

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

Syntax

'Declaration
Public Shared ReadOnly Property Triggers As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.Triggers
public static ScriptOption Triggers { get; }
public:
static property ScriptOption^ Triggers {
    ScriptOption^ get ();
}
static member Triggers : ScriptOption
static function get Triggers () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the Triggers in the scripting options.

Examples

Scripting