TechNet
Export (0) Print
Expand All

SfcConnection Class

 

Abstract class from which SqlStoreConnection is derived. Represents a connection to a server.

Namespace:   Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
    Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection

public abstract class SfcConnection : ISfcConnection

NameDescription
System_CAPS_protmethodSfcConnection()

Initializes a new instance of the SfcConnection class.

NameDescription
System_CAPS_pubpropertyConnectionType

Gets the SQL Server service type of the connection.

System_CAPS_pubpropertyConnectTimeout

Gets or sets the connection time-out period in seconds.

System_CAPS_pubpropertyIsForceDisconnected

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

System_CAPS_pubpropertyIsOpen

Gets a value indicating whether the connection is open.

System_CAPS_pubpropertyServerInstance

Gets or sets the name of the target server.

System_CAPS_pubpropertyServerVersion

Gets or sets the SQL Server version of the target server.

System_CAPS_pubpropertyStatementTimeout

Gets or sets the number of seconds a statement is given to run before failing with a time-out error.

NameDescription
System_CAPS_pubmethodConnect()

Connects to the target server.

System_CAPS_pubmethodCopy()

Copies the connection object.

System_CAPS_pubmethodDisconnect()

Disconnects from the target server.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodEquals(SfcConnection)

Determines whether the specified connection object is equal to the current connection object.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodForceDisconnected()

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

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this connection. (Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToEnumeratorObject()

Returns an enumerator object.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft