Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the DataCommand class together with a data connection object.
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 DataCommand(
    IVsDataConnection connection
)
protected:
DataCommand(
    IVsDataConnection^ connection
)
new : 
        connection:IVsDataConnection -> DataCommand
protected function DataCommand(
    connection : IVsDataConnection
)
Parameters
- connection
 Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
 A IVsDataConnection connection object.
.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.