ScriptingOptions.OptimizerData Property
Gets or sets the Boolean property value that specifies whether script optimizer data for the referenced objects are included in the generated script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Property Value
Type: System.BooleanA Boolean value that specifies whether script optimizer data for the referenced objects are included in the generated script.If True, whether script optimizer data for the referenced objects is included in the generated script. Otherwise, False (default).