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
- connection
Type: Microsoft.VisualStudio.Data.DataConnection
The data connection to use for retrieving data source properties.
- propertyNames
Type: System.Collections.ICollection
A collection of names of properties supported by this instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.