Delen via


ScriptOption.OptimizerData Property

Gets an object 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)

Syntax

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

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

Property Value

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

Examples

Scripting