ConnectionManager.AutoDisconnectMode 屬性
取得或設定與 SQL Server 執行個體之參考連接的自動中斷連接模式。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property AutoDisconnectMode As AutoDisconnectMode
Get
Set
'用途
Dim instance As ConnectionManager
Dim value As AutoDisconnectMode
value = instance.AutoDisconnectMode
instance.AutoDisconnectMode = value
public AutoDisconnectMode AutoDisconnectMode { get; set; }
public:
property AutoDisconnectMode AutoDisconnectMode {
AutoDisconnectMode get ();
void set (AutoDisconnectMode value);
}
member AutoDisconnectMode : AutoDisconnectMode with get, set
function get AutoDisconnectMode () : AutoDisconnectMode
function set AutoDisconnectMode (value : AutoDisconnectMode)
屬性值
型別:Microsoft.SqlServer.Management.Common.AutoDisconnectMode
AutoDisconnectMode 物件值,指定參考連接的自動中斷連接模式。