Syntax
| long = connectionobject.Attributes
connectionobject.Attributes = long
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Sets or returns a long value defining the characteristics of a Connection object.
The Attributes property indicates the transaction attributes of a Connection object. It returns or sets a long value that is the sum of one or more of the XactAttributeEnum constants. The default is zero.
Not all providers support this property.
XactAttributeEnum Constants
You can set multiple attributes by adding together the values. If you set the property value to an invalid sum, an error is generated.
| ||||||||||||
See Also
| |||||||||||||
Example
| objConnection.Attributes = adXactAbortRetaining AND adXactCommitRetaining |