DataTransaction Constructor (IVsDataConnection)
Instantiates a new instance of the DataTransaction class, specifying a data connection.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Sub New ( _
connection As IVsDataConnection _
)
protected DataTransaction(
IVsDataConnection connection
)
protected:
DataTransaction(
IVsDataConnection^ connection
)
new :
connection:IVsDataConnection -> DataTransaction
protected function DataTransaction(
connection : IVsDataConnection
)
Parameters
connection
Type: Microsoft.VisualStudio.Data.Services.IVsDataConnectionThe data connection used for communicating with the data source.
.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.