共用方式為


OleDbProviderSettings.NonTransactedUpdates 屬性

Gets or sets the Boolean property value that specifies whether data updates with the OLE DB provider are logged and are recoverable.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NonTransactedUpdates As Boolean 
    Get 
    Set
'用途
Dim instance As OleDbProviderSettings 
Dim value As Boolean 

value = instance.NonTransactedUpdates

instance.NonTransactedUpdates = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool NonTransactedUpdates { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool NonTransactedUpdates {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NonTransactedUpdates : bool with get, set
function get NonTransactedUpdates () : boolean 
function set NonTransactedUpdates (value : boolean)

屬性值

型別:System.Boolean
A Boolean value that specifies whether data updates with the OLE DB provider are logged and are recoverable.If True, data updates are not logged on the OLE DB provider and cannot be recovered.If False (default), data updates are logged on the OLE DB provider and can be recovered.

範例

在 SMO 中使用連結的伺服器

請參閱

參考

OleDbProviderSettings 類別

Microsoft.SqlServer.Management.Smo 命名空間