Share via


ReliableSqlConnection.CreateCommand Method

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Creates and returns a SqlCommand object associated with the underlying SqlConnection.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public SqlCommand CreateCommand()
'Declaration
Public Function CreateCommand As SqlCommand
public:
SqlCommand^ CreateCommand()

Return Value

A System.Data.SqlClient.SqlCommand object.

See Also

ReliableSqlConnection Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace