ScriptingOptions.NoAssemblies ScriptingOptions.NoAssemblies ScriptingOptions.NoAssemblies Property

Definition

Gets or sets the Boolean property value that specifies whether assemblies are included in the generated script.

public:
 property bool NoAssemblies { bool get(); void set(bool value); };
public bool NoAssemblies { get; set; }
Public Property NoAssemblies As Boolean
Property Value

A Boolean value that specifies whether assemblies are included in the generated script.

If True, assemblies are not included in the generated script. Otherwise, False (default).

Examples

The following code example specifies that assemblies will not be scripted.

Visual Basic

Dim scOps As New ScriptingOptions()  
scOps.NoAssemblies = true  

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions  
$scOps.NoAssemblies = $TRUE  

Applies to