次の方法で共有


RestorePlan.CanDropExistingConnections(String) Method

Definition

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.

Applies to