Export (0) Print
Expand All

SqlCommand Properties

The properties of the SqlCommand class are listed here. For a complete list of SqlCommand class members, see the SqlCommand Members topic.

Public Properties

public propertyCommandText

Supported by the .NET Compact Framework.

Gets or sets the Transact-SQL statement or stored procedure to execute at the data source.
public propertyCommandTimeout

Supported by the .NET Compact Framework.

Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
public propertyCommandType

Supported by the .NET Compact Framework.

Gets or sets a value indicating how the CommandText property is to be interpreted.
public propertyConnection

Supported by the .NET Compact Framework.

Gets or sets the SqlConnection used by this instance of the SqlCommand.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDesignTimeVisible Gets or sets a value indicating whether the command object should be visible in a Windows Forms Designer control.
public propertyParameters

Supported by the .NET Compact Framework.

Gets the SqlParameterCollection.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyTransaction

Supported by the .NET Compact Framework.

Gets or sets the SqlTransaction within which the SqlCommand executes.
public propertyUpdatedRowSource

Supported by the .NET Compact Framework.

Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

See Also

SqlCommand Class | System.Data.SqlClient Namespace

Show:
© 2014 Microsoft