共用方式為


AdoDotNetDataSourceInformation Constructors

Definition

Overloads

AdoDotNetDataSourceInformation(DataConnection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object.

AdoDotNetDataSourceInformation(DataConnection, ICollection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a collection of connection properties.

AdoDotNetDataSourceInformation(DataConnection, IDictionary)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a connection properties IDictionary object.

AdoDotNetDataSourceInformation(DataConnection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object.

public:
 AdoDotNetDataSourceInformation(Microsoft::VisualStudio::Data::DataConnection ^ connection);
public AdoDotNetDataSourceInformation (Microsoft.VisualStudio.Data.DataConnection connection);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation : Microsoft.VisualStudio.Data.DataConnection -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation
Public Sub New (connection As DataConnection)

Parameters

connection
DataConnection

Current instance of the DataConnection class.

Applies to

AdoDotNetDataSourceInformation(DataConnection, ICollection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a collection of connection properties.

public:
 AdoDotNetDataSourceInformation(Microsoft::VisualStudio::Data::DataConnection ^ connection, System::Collections::ICollection ^ propertyNames);
public AdoDotNetDataSourceInformation (Microsoft.VisualStudio.Data.DataConnection connection, System.Collections.ICollection propertyNames);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation : Microsoft.VisualStudio.Data.DataConnection * System.Collections.ICollection -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation
Public Sub New (connection As DataConnection, propertyNames As ICollection)

Parameters

connection
DataConnection

Current instance of the DataConnection class.

propertyNames
ICollection

Names of the properties in the connection properties ICollection.

Applies to

AdoDotNetDataSourceInformation(DataConnection, IDictionary)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a connection properties IDictionary object.

public:
 AdoDotNetDataSourceInformation(Microsoft::VisualStudio::Data::DataConnection ^ connection, System::Collections::IDictionary ^ properties);
public AdoDotNetDataSourceInformation (Microsoft.VisualStudio.Data.DataConnection connection, System.Collections.IDictionary properties);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation : Microsoft.VisualStudio.Data.DataConnection * System.Collections.IDictionary -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation
Public Sub New (connection As DataConnection, properties As IDictionary)

Parameters

connection
DataConnection

Current instance of the DataConnection class.

properties
IDictionary

An IDictionary object containing the set of current connection properties.

Applies to