Partager via


Propriété RestorePlan.CloseExistingConnections

Gets or sets a value indicating whether to close existing connections.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property CloseExistingConnections As Boolean 
    Get 
    Set
'Utilisation
Dim instance As RestorePlan 
Dim value As Boolean 

value = instance.CloseExistingConnections

instance.CloseExistingConnections = value
public bool CloseExistingConnections { get; set; }
public:
property bool CloseExistingConnections {
    bool get ();
    void set (bool value);
}
member CloseExistingConnections : bool with get, set
function get CloseExistingConnections () : boolean 
function set CloseExistingConnections (value : boolean)

Valeur de propriété

Type : System.Boolean
True if close existing connections; otherwise, false.

Voir aussi

Référence

RestorePlan Classe

Espace de noms Microsoft.SqlServer.Management.Smo