RestorePlan.CloseExistingConnections 属性
Gets or sets a value indicating whether to close existing connections.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Property CloseExistingConnections As Boolean
Get
Set
用法
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)
属性值
类型:System.Boolean
True if close existing connections; otherwise, false.