Delen via


ScriptOption.Bindings Property

Gets an object that specifies whether the binding statements sp_binddefault and sp_bindrule are included in the generated script. This property applies only when scripting a Microsoft SQL Server table.

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

Syntax

'Declaration
Public Shared ReadOnly Property Bindings As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.Bindings
public static ScriptOption Bindings { get; }
public:
static property ScriptOption^ Bindings {
    ScriptOption^ get ();
}
static member Bindings : ScriptOption
static function get Bindings () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents Bindings in the scripting options.

Examples

Scripting