| Visual Basic (Declaration) | |
|---|---|
<DataMemberAttribute()> Public ReadOnly Property UseTransactionScope As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TransactionSettings Dim value As Boolean value = instance.UseTransactionScope | |
| C# | |
|---|---|
[DataMemberAttribute()] public bool UseTransactionScope {get;} | |
| C++/CLI | |
|---|---|
[DataMemberAttribute()] public: property bool UseTransactionScope { bool get(); } | |
It is highly recommended that this be set to true (default). Note that if a transaction crosses database boundaries that the transaction may escalate to use DTC (the Distributed Transaction Coordinator).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family