RestorePlan.CanDropExistingConnections(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the given database supports dropping connections. The ones that are in 9.0 (SQL 2005) compatibility mode, or in a status that is not normal don't support dropping connections.
public bool CanDropExistingConnections (string dbName);
member this.CanDropExistingConnections : string -> bool
Public Function CanDropExistingConnections (dbName As String) As Boolean
Parameters
- dbName
- String
The database.
Returns
true
if this instance can drop existing connections of the specified database; otherwise, false
.