Bindings Property
TOC
Collapse the table of content
Expand the table of content

ScriptingOptions.Bindings Property

Gets or sets a Boolean property value that specifies whether the binding statements sp_binddefault and sp_bindrule are included in the generated script. This property applies only when scripting a SQL Server table.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool Bindings { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether the binding statements sp_binddefault and sp_bindrule are included in the generated Transact-SQL script.
If True, binding statements are included in the script. Otherwise, False (default).

The Bindings property applies only when scripting a SQL Server table.

Community Additions

ADD
Show:
© 2016 Microsoft