共用方式為


TSqlModelOptions.CursorCloseOnCommit 屬性

Specifies the CURSOR_CLOSE_ON_COMMIT database option.

命名空間:  Microsoft.SqlServer.Dac.Model
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Property CursorCloseOnCommit As Nullable(Of Boolean)
    Get 
    Set
'用途
Dim instance As TSqlModelOptions 
Dim value As Nullable(Of Boolean)

value = instance.CursorCloseOnCommit

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

屬性值

型別:System.Nullable<Boolean>

請參閱

參考

TSqlModelOptions 類別

Microsoft.SqlServer.Dac.Model 命名空間