AdoDotNetConnectionSupport.CurrentCommand Property
Gets the DbCommand object currently being used by the current connection support instance.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Property CurrentCommand As DbCommand
'Usage
Dim value As DbCommand
value = Me.CurrentCommand
Me.CurrentCommand = value
protected DbCommand CurrentCommand { get; set; }
protected:
property DbCommand^ CurrentCommand {
DbCommand^ get ();
void set (DbCommand^ value);
}
protected function get CurrentCommand () : DbCommand
protected function set CurrentCommand (value : DbCommand)
Property Value
Type: System.Data.Common.DbCommand
A DbCommand object instance.
.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
AdoDotNetConnectionSupport Class