Share via


PackageClass.TransactionOption Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets a DTSTransactionOption enumeration value that indicates whether the package participates in transaction.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property TransactionOption As DTSTransactionOption 
    Get 
    Set
'Usage
Dim instance As PackageClass 
Dim value As DTSTransactionOption 

value = instance.TransactionOption

instance.TransactionOption = value
public virtual DTSTransactionOption TransactionOption { get; set; }
public:
virtual property DTSTransactionOption TransactionOption {
    DTSTransactionOption get ();
    void set (DTSTransactionOption value);
}
abstract TransactionOption : DTSTransactionOption with get, set 
override TransactionOption : DTSTransactionOption with get, set
function get TransactionOption () : DTSTransactionOption 
function set TransactionOption (value : DTSTransactionOption)

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSTransactionOption
A DTSTransactionOption enumeration that indicates if the package can be part of transactions.

Implements

IDTSContainer100.TransactionOption

Remarks

For more information, see Package.

See Also

Reference

PackageClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace