ScriptingOptions.NoAssemblies Property
SQL Server 2008
Gets or sets the Boolean property value that specifies whether assemblies are included in the generated script.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)