Delen via


ScriptOption.Statistics Property

Gets an object value that specifies whether statistics are generated for any table or view 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 Statistics As ScriptOption
    Get
'Usage
Dim value As ScriptOption

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

Property Value

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

Examples

Scripting