SqlStoreConnection SqlStoreConnection SqlStoreConnection Class

Definition

Represents a connection to an instance of SQL Server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public ref class SqlStoreConnection : Microsoft::SqlServer::Management::Sdk::Sfc::SfcConnection
public class SqlStoreConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
Public Class SqlStoreConnection
Inherits SfcConnection
Inheritance
SqlStoreConnectionSqlStoreConnectionSqlStoreConnection

Constructors

SqlStoreConnection(SqlConnection) SqlStoreConnection(SqlConnection) SqlStoreConnection(SqlConnection)

Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Properties

ConnectionType ConnectionType ConnectionType

Gets a value indicating whether the database server is part of a multi-server administration matrix. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ConnectTimeout ConnectTimeout ConnectTimeout

Gets or sets the timeout interval, in seconds. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

IsForceDisconnected IsForceDisconnected IsForceDisconnected

Gets a value indicating whether the connection has been forcibly disconnected.

(Inherited from SfcConnection)
IsOpen IsOpen IsOpen

Gets a value indicating whether the connection is currently open. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ServerConnection ServerConnection ServerConnection

Gets the Server Connection for the SqlStoreConnection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ServerInstance ServerInstance ServerInstance

Gets or sets the name of the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ServerVersion ServerVersion ServerVersion

Gets the version number of the connected server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

StatementTimeout StatementTimeout StatementTimeout

Gets or sets the number of seconds a statement is given to run before failing with a time-out error. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Methods

Connect() Connect() Connect()

Attempts to connect to the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Copy() Copy() Copy()

Returns a copy of the server connection object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Disconnect() Disconnect() Disconnect()

Attempts to disconnect from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Equals(SfcConnection) Equals(SfcConnection) Equals(SfcConnection)

Determines whether the specified server connection is equal to the current SqlStoreConnection object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ForceDisconnected() ForceDisconnected() ForceDisconnected()

Enforces a server disconnect and ensures that connection cannot be re-opened again.

(Inherited from SfcConnection)
GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ToEnumeratorObject() ToEnumeratorObject() ToEnumeratorObject()

Returns an enumerator object.

Applies to