Share via


DataSourceInformation Constructors

Definition

Overloads

DataSourceInformation()

Class constructor. Instantiates a nonparameterized instance of the DataSourceInformation class.

DataSourceInformation(DataConnection)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class that provides the data connection for which the information is provided.

DataSourceInformation(DataConnection, ICollection)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class, along with the specific connection and an ICollection object containing the connection property names..

DataSourceInformation(DataConnection, IDictionary)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class along with a specific data connection and an IDictionary object containing connection properties information.

DataSourceInformation()

Class constructor. Instantiates a nonparameterized instance of the DataSourceInformation class.

public:
 DataSourceInformation();
public DataSourceInformation ();
Public Sub New ()

Applies to

DataSourceInformation(DataConnection)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class that provides the data connection for which the information is provided.

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

Parameters

connection
DataConnection

The data connection to use for retrieving data source properties.

Applies to

DataSourceInformation(DataConnection, ICollection)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class, along with the specific connection and an ICollection object containing the connection property names..

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

Parameters

connection
DataConnection

The data connection to use for retrieving data source properties.

propertyNames
ICollection

A collection of names of properties supported by this instance.

Applies to

DataSourceInformation(DataConnection, IDictionary)

Class constructor. Instantiates a parameterized instance of the DataSourceInformation class along with a specific data connection and an IDictionary object containing connection properties information.

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

Parameters

connection
DataConnection

The data connection to use for retrieving data source properties.

properties
IDictionary

A collection of property name/value pairs with which to initialize the instance.

Applies to