DataSourceInformation Constructor (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.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
connection As DataConnection, _
properties As IDictionary _
)
public DataSourceInformation(
DataConnection connection,
IDictionary properties
)
public:
DataSourceInformation(
DataConnection^ connection,
IDictionary^ properties
)
new :
connection:DataConnection *
properties:IDictionary -> DataSourceInformation
public function DataSourceInformation(
connection : DataConnection,
properties : IDictionary
)
Parameters
connection
Type: Microsoft.VisualStudio.Data.DataConnectionThe data connection to use for retrieving data source properties.
properties
Type: System.Collections.IDictionaryA collection of property name/value pairs with which to initialize the 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.