Gets the initialization and authorization properties when the connection is closed. Gets the session and data source information when the connection is open.
[Visual Basic] Public ReadOnly Property Properties As ADOProperties [C#] public ADOProperties Properties {get;} [C++] public: __property ADOProperties* get_Properties(); [JScript] public function get Properties() : ADOProperties;
The ADO property settings for the connection.
The property settings in this collection override the cooresponding property settings in the connection string and will change any matching, strongly-typed properties in the connection object. However, the ConnectionString property is not modified by the changes made to the Properties collection. If the connection is closed, the available properties are enumerated before a physical connection to the database is established. This property does not support persistance.
The following example shows how to create a connection and displays some of its read-only properties.
ADOConnection Class | ADOConnection Members | System.Data.ADO Namespace