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 基礎結構。 |
上層