This documentation is archived and is not being maintained.

SqlCommand Properties

The SqlCommand type exposes the following members.

  NameDescription
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Supported by the .NET Compact Framework CommandText Gets or sets the Transact-SQL statement, table name or stored procedure to execute at the data source. (Overrides DbCommand.CommandText.)
Public property Supported by the .NET Compact Framework CommandTimeout Gets or sets the wait time before terminating the attempt to execute a command and generating an error. (Overrides DbCommand.CommandTimeout.)
Public property Supported by the .NET Compact Framework CommandType Gets or sets a value indicating how the CommandText property is to be interpreted. (Overrides DbCommand.CommandType.)
Public property Supported by the .NET Compact Framework Connection Gets or sets the SqlConnection used by this instance of the SqlCommand.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DbConnection Gets or sets the DbConnection used by this DbCommand. (Inherited from DbCommand.)
Protected property DbParameterCollection Gets the collection of DbParameter objects. (Inherited from DbCommand.)
Protected property DbTransaction Gets or sets the DbTransaction within which this DbCommand object executes. (Inherited from DbCommand.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property DesignTimeVisible Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control. (Overrides DbCommand.DesignTimeVisible.)
Protected property Supported by the .NET Compact Framework Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Notification Gets or sets a value that specifies the SqlNotificationRequest object bound to this command.
Public property NotificationAutoEnlist Gets or sets a value indicating whether the application should automatically receive query notifications from a common SqlDependency object.
Public property Supported by the .NET Compact Framework Parameters Gets the SqlParameterCollection.
Public property Supported by the .NET Compact Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Transaction Gets or sets the SqlTransaction within which the SqlCommand executes.
Public property Supported by the .NET Compact Framework UpdatedRowSource Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter. (Overrides DbCommand.UpdatedRowSource.)
Top
Show: