Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Connection Object
Field Object
Parameter Object
Property Object
PROPERTY: Connection::Attributes
long =
connectionobject.
Attributes
connectionobject.
Attributes
= long
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.
Constant
Value
Description
adXactAbortRetaining
262144
Ensures that calling the
RollbackTrans
method automatically starts a new transaction
adXactCommitRetaining
131072
Ensures that calling the
CommitlbackTrans
method automatically starts a new transaction
adXactAbortRetaining
AND
adXactCommitRetaining
393216
A new transaction automatically starts after the previous is finished
Code (VBScript):
objConnection
Attributes
= adXactAbortRetaining AND adXactCommitRetaining
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information