RestorePlan.CanDropExistingConnections(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查給定資料庫是否支援斷線。 那些處於 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