SfcConnection 類別
Abstract class from which SqlStoreConnection is derived. Represents a connection to a server.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public MustInherit Class SfcConnection _
Implements ISfcConnection
'用途
Dim instance As SfcConnection
public abstract class SfcConnection : ISfcConnection
public ref class SfcConnection abstract : ISfcConnection
[<AbstractClassAttribute>]
type SfcConnection =
class
interface ISfcConnection
end
public abstract class SfcConnection implements ISfcConnection
SfcConnection 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
SfcConnection | Initializes a new instance of the SfcConnection class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
ConnectionType | Gets the SQL Server service type of the connection. |
![]() |
ConnectTimeout | Gets or sets the connection time-out period in seconds. |
![]() |
IsForceDisconnected | Gets a value indicating whether the connection has been forcibly disconnected. |
![]() |
IsOpen | Gets a value indicating whether the connection is open. |
![]() |
ServerInstance | Gets or sets the name of the target server. |
![]() |
ServerVersion | Gets or sets the SQL Server version of the target server. |
![]() |
StatementTimeout | Gets or sets the number of seconds a statement is given to run before failing with a time-out error. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Connect | Connects to the target server. |
![]() |
Copy | Copies the connection object. |
![]() |
Disconnect | Disconnects from the target server. |
![]() |
Equals(Object) | (繼承自 Object。) |
![]() |
Equals(SfcConnection) | Determines whether the specified connection object is equal to the current connection object. |
![]() |
Finalize | (繼承自 Object。) |
![]() |
ForceDisconnected | Enforces a server disconnect and ensures that connection cannot be re-opened again. |
![]() |
GetHashCode | Returns the hash code for this connection. (覆寫 Object.GetHashCode()。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToEnumeratorObject | Returns an enumerator object. |
![]() |
ToString | (繼承自 Object。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。