語言

RestorePlan.CanDropExistingConnections(String) 方法

定義

檢查給定資料庫是否支援斷線。 那些處於 9.0(SQL 2005)相容模式,或狀態異常的系統,不支援斷線。

public bool CanDropExistingConnections(string dbName);
member this.CanDropExistingConnections : string -> bool
Public Function CanDropExistingConnections (dbName As String) As Boolean

參數

dbName
String

資料庫。

傳回

true如果此實例能丟棄指定資料庫的現有連線;否則,。 false

適用於