Bagikan melalui


RestorePlan.CloseExistingConnections Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Property CloseExistingConnections As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

RestorePlan Class

Microsoft.SqlServer.Management.Smo Namespace