Compartir a través de


ReliableSqlConnection.Open 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.

Opens a database connection with the settings specified by the ConnectionString and ConnectionRetryPolicy properties.

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 SqlConnection Open()
'Declaration
Public Function Open As SqlConnection
public:
SqlConnection^ Open()

Return Value

An object representing the open connection.

See Also

ReliableSqlConnection Class

Open Overload

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