共用方式為


Bindings 屬性

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.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property Bindings As Boolean
    Get
    Set
'用途
Dim instance As ScriptingOptions
Dim value As Boolean

value = instance.Bindings

instance.Bindings = value
public bool Bindings { get; set; }
public:
property bool Bindings {
    bool get ();
    void set (bool value);
}
member Bindings : bool with get, set
function get Bindings () : boolean
function set Bindings (value : boolean)

屬性值

型別: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.

範例

指令碼