DtsContainer::IsolationLevel Property

 

Gets or sets the isolation level of the transaction in the DtsContainer object.

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

public:
property IsolationLevel IsolationLevel {
	IsolationLevel get();
	void set(IsolationLevel value);
}

Property Value

Type: System.Data::IsolationLevel

An integer value that corresponds to the isolation level.

The default value of this property is -1, or Unspecified. For more information about the available values, see the IsolationLevel enumerations that are used in the System.Data namespace, in ADO and in OLE DB.

The following table lists the values that are available for the IsolationLevel property.

Value

Isolation Level

-1

Unspecified

16

Chaos

256

ReadUncommitted

4096

ReadCommitted

65536

RepeatableRead

1048576

Serializable

The following code example creates a Package, which is a class that inherits from DtsContainer. The Package shows the use of several inherited properties.

No code example is currently available or this language may not be supported.

Sample Output:

Package Name: My DtsContainer inheritance test package

Package ID: {2C2FAA96-35BA-4C5E-A39A-C5D7D30A0D79}

FailPackageOnFailure: False

FailParentOnFailure: False

Locale ID: 1033

Is DefaultLocaleID? False

Isolation Level: Serializable

LoggingMode: UseParentSetting

MaximumErrorCount: 1

TransactionOption: Supported

Return to top
Show: