共用方式為


LocalCursorsDefault 屬性

取得布林值,這個值會指定預設是否使用本機伺服器資料指標。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property LocalCursorsDefault As Boolean
    Get
    Set
'用途
Dim instance As Database
Dim value As Boolean

value = instance.LocalCursorsDefault

instance.LocalCursorsDefault = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool LocalCursorsDefault { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool LocalCursorsDefault {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract LocalCursorsDefault : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override LocalCursorsDefault : bool with get, set
final function get LocalCursorsDefault () : boolean
final function set LocalCursorsDefault (value : boolean)

屬性值

型別:System. . :: . .Boolean
Boolean 值,指定是否預設使用本機資料指標。如果為 True,則使用本機資料指標。如果為 False (預設值),則不使用本機資料指標而且在用戶端實作資料指標。

實作

IDatabaseOptions. . :: . .LocalCursorsDefault