AdoDotNetDataSourceInformation Constructor (DataConnection, ICollection)
Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a collection of connection properties.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public Sub New ( _
connection As DataConnection, _
propertyNames As ICollection _
)
public AdoDotNetDataSourceInformation(
DataConnection connection,
ICollection propertyNames
)
public:
AdoDotNetDataSourceInformation(
DataConnection^ connection,
ICollection^ propertyNames
)
new :
connection:DataConnection *
propertyNames:ICollection -> AdoDotNetDataSourceInformation
public function AdoDotNetDataSourceInformation(
connection : DataConnection,
propertyNames : ICollection
)
Parameters
- connection
Type: Microsoft.VisualStudio.Data.DataConnection
Current instance of the DataConnection class.
- propertyNames
Type: System.Collections.ICollection
Names of the properties in the connection properties ICollection.
.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