SqlCommand Properties

 

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubpropertyColumnEncryptionSetting

Gets or sets the column encryption setting for this command.

System_CAPS_pubpropertyCommandText

Gets or sets the Transact-SQL statement, table name or stored procedure to execute at the data source.(Overrides DbCommand.CommandText.)

System_CAPS_pubpropertyCommandTimeout

Gets or sets the wait time before terminating the attempt to execute a command and generating an error.(Overrides DbCommand.CommandTimeout.)

System_CAPS_pubpropertyCommandType

Gets or sets a value indicating how the CommandText property is to be interpreted.(Overrides DbCommand.CommandType.)

System_CAPS_pubpropertyConnection

Gets or sets the SqlConnection used by this instance of the SqlCommand.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_pubpropertyDesignTimeVisible

Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control.(Overrides DbCommand.DesignTimeVisible.)

System_CAPS_pubpropertyNotification

Gets or sets a value that specifies the SqlNotificationRequest object bound to this command.

System_CAPS_pubpropertyNotificationAutoEnlist

Gets or sets a value indicating whether the application should automatically receive query notifications from a common SqlDependency object.

System_CAPS_pubpropertyParameters
System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

System_CAPS_pubpropertyTransaction

Gets or sets the SqlTransaction within which the SqlCommand executes.

System_CAPS_pubpropertyUpdatedRowSource

Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.(Overrides DbCommand.UpdatedRowSource.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Connection

Gets or sets the IDbConnection used by this instance of the IDbCommand.(Inherited from DbCommand.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Parameters

Gets the IDataParameterCollection.(Inherited from DbCommand.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Transaction

Gets or sets the DbTransaction within which this DbCommand object executes.(Inherited from DbCommand.)

Return to top
Show: