DataSourceInformation Constructor (DataConnection)
Class constructor. Instantiates a parameterized instance of the DataSourceInformation class that provides the data connection for which the information is provided.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public Sub New ( _
connection As DataConnection _
)
public DataSourceInformation(
DataConnection connection
)
public:
DataSourceInformation(
DataConnection^ connection
)
new :
connection:DataConnection -> DataSourceInformation
public function DataSourceInformation(
connection : DataConnection
)
Parameters
- connection
Type: Microsoft.VisualStudio.Data.DataConnection
The data connection to use for retrieving data source properties.
.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.