ScriptingOptions.Triggers Property
Gets or sets the Boolean property 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)