ISfcConnection 介面

Defines high-level properties and methods for server connections.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Interface ISfcConnection
'用途
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection

ISfcConnection 型別公開下列成員。

屬性

  名稱 說明
公用屬性 IsForceDisconnected Gets a Boolean value that specifies whether the connection was forcibly disconnected.
公用屬性 IsOpen Gets a value indicating whether the connection is open.
公用屬性 ServerInstance Gets or sets the name of the target server for the connection.
公用屬性 ServerVersion Gets the SQL Server version of the target server.

上層

方法

  名稱 說明
公用方法 Connect Connects to the target server.
公用方法 Copy Copies the connection object.
公用方法 Disconnect Disconnects from the target server.
公用方法 ForceDisconnected Forces a disconnect from the instance of SQL Server.
公用方法 ToEnumeratorObject Indicates the specified object from the enumeration. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 

上層