DataConnection.Command Property

Retrieves an object that can perform derivation and execution of commands on the data source.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Public ReadOnly Property Command As DataCommand
'使用
Dim instance As DataConnection
Dim value As DataCommand

value = instance.Command
public DataCommand Command { get; }
public:
property DataCommand^ Command {
    DataCommand^ get ();
}
public function get Command () : DataCommand

Property Value

Type: Microsoft.VisualStudio.Data.DataCommand

Returns an object instance of the DataCommand class, which can perform derivation and execution of commands on the data source.

Remarks

This method is for performing synchronous commands. For performing commands asynchronously, see AsyncCommand.

Permissions

See Also

Reference

DataConnection Class

DataConnection Members

Microsoft.VisualStudio.Data Namespace