Partager via


Connection Object Properties, Methods, and Events

Properties/Collections

Attributes Property

CommandTimeout Property

ConnectionString Property

ConnectionTimeout Property

CursorLocation Property

DefaultDatabase Property

Errors Collection

IsolationLevel Property

Mode Property

Properties Collection

Provider Property

State Property

Version Property

Methods

BeginTrans, CommitTrans, and RollbackTrans Methods

Cancel Method

Close Method

Execute Method (ADO Connection)

Open Method (ADO Connection)

OpenSchema Method

Events

BeginTransComplete, CommitTransComplete, and RollbackTransComplete Events

ConnectComplete and Disconnect Events

ExecuteComplete Event

InfoMessage Event

WillConnect Event

WillExecute Event

See Also

Connection Object