![]() |
![]() |
|||||
|
Value | Description |
adXactCommitRetaining |
Performs retaining commits, that is, calling the CommitTrans method automatically starts a new transaction. Not all providers support this, and is always zero under UNIX. |
adXactAbortRetaining |
Performs retaining aborts, that is, calling the RollbackTrans method automatically starts a new transaction. Not all providers support this, and is always zero under UNIX. |
Remarks
Use the Attributes property to set or return characteristics of Connection objects.Examples
This Visual Basic example displays the value of the Attributes property for Connection objects. It uses the Name property to display the name of each Field and Property object.Public Sub AttributesX
Dim cnn1 As ADODB.Connection
Dim strCnn As String
' Open connection
strCnn = "driver={SQL Server};server=srv;" & _
"uid=sa;pwd=;database=pubs"
Set cnn1 = New ADODB.Connection
cnn1.Open strCnn
' Display the attributes of the connection.
Debug.Print "Connection attributes = " & _
cnn1.Attributes
cnn1.Close
End Sub
Copyright © 2000 Chili!Soft