共用方式為


CursorDefaultDatabaseOption.IsLocal 屬性

Gets or sets a value that indicates whether the cursor default is set to LOCAL or GLOBAL.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property IsLocal As Boolean 
    Get 
    Set
'用途
Dim instance As CursorDefaultDatabaseOption 
Dim value As Boolean 

value = instance.IsLocal

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

屬性值

型別:System.Boolean
True if cursor default is set to LOCAL, false if set to GLOBAL.

請參閱

參考

CursorDefaultDatabaseOption 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間