共用方式為


DataCommand Constructors

Definition

Overloads

DataCommand()

Initializes a new instance of the DataCommand class.

DataCommand(IVsDataConnection)

Initializes a new instance of the DataCommand class together with a data connection object.

DataCommand()

Initializes a new instance of the DataCommand class.

protected:
 DataCommand();
protected DataCommand ();
Protected Sub New ()

Applies to

DataCommand(IVsDataConnection)

Initializes a new instance of the DataCommand class together with a data connection object.

protected:
 DataCommand(Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ connection);
protected DataCommand (Microsoft.VisualStudio.Data.Services.IVsDataConnection connection);
new Microsoft.VisualStudio.Data.Framework.DataCommand : Microsoft.VisualStudio.Data.Services.IVsDataConnection -> Microsoft.VisualStudio.Data.Framework.DataCommand
Protected Sub New (connection As IVsDataConnection)

Parameters

connection
IVsDataConnection

A IVsDataConnection connection object.

Applies to