AdoDotNetDataSourceInformation Constructor (DataConnection)
Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
connection As DataConnection _
)
public AdoDotNetDataSourceInformation(
DataConnection connection
)
public:
AdoDotNetDataSourceInformation(
DataConnection^ connection
)
new :
connection:DataConnection -> AdoDotNetDataSourceInformation
public function AdoDotNetDataSourceInformation(
connection : DataConnection
)
Parameters
connection
Type: Microsoft.VisualStudio.Data.DataConnectionCurrent instance of the DataConnection class.
.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.
See Also
Reference
AdoDotNetDataSourceInformation Class