Udostępnij za pośrednictwem


ReliableSqlConnection.Open Method

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

Namespace: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public SqlConnection Open()
'Declaration
Public Function Open As SqlConnection
public:
SqlConnection^ Open()

Return Value

Type: SqlConnection
An object that represents the open connection.

See Also

ReliableSqlConnection Class

ReliableSqlConnection Members

Open Overload

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace