ScriptingOptions.ScriptOwner Property
SQL Server 2008
Gets or sets the Boolean property value that specifies whether the script owner is included in the generated script.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Property Value
Type: System.BooleanA Boolean value that specifies whether the script owner is included in the generated script.
If True, the script operation generates a Transact-SQL script to remove the referenced component.
If False (default), the script operation generates a Transact-SQL script to create the referenced component.