ScriptingOptions.ToFileOnly Property
Gets or sets the Boolean property value that specifies whether to output to file only or to also generate string output.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)