Partager via


DataSourceInformation Constructor (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..

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Déclaration
Public Sub New ( _
    connection As DataConnection, _
    propertyNames As ICollection _
)
public DataSourceInformation(
    DataConnection connection,
    ICollection propertyNames
)
public:
DataSourceInformation(
    DataConnection^ connection, 
    ICollection^ propertyNames
)
new : 
        connection:DataConnection * 
        propertyNames:ICollection -> DataSourceInformation
public function DataSourceInformation(
    connection : DataConnection, 
    propertyNames : ICollection
)

Parameters

.NET Framework Security

See Also

Reference

DataSourceInformation Class

DataSourceInformation Overload

Microsoft.VisualStudio.Data Namespace