ScriptingOptions.Statistics Property
SQL Server 2012
Gets or sets the Boolean property value that specifies whether to include statistics for any table or view that is 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 to include statistics for any table or view that is included in the generated script.If True, the script includes statistics for tables and views that are used within it.If False (default), the script does not include statistics for tables and views.
