NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ADOConnection.Properties

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;

Property Value

The ADO property settings for the connection.

Remarks

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.

Example

The following example shows how to create a connection and displays some of its read-only properties.

See Also

ADOConnection Class | ADOConnection Members | System.Data.ADO Namespace