Свойство ConnectionManager.AutoDisconnectMode
Gets or sets the automatic disconnection mode of the referenced connection to the instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Property AutoDisconnectMode As AutoDisconnectMode
Get
Set
'Применение
Dim instance As ConnectionManager
Dim value As AutoDisconnectMode
value = instance.AutoDisconnectMode
instance.AutoDisconnectMode = value
public AutoDisconnectMode AutoDisconnectMode { get; set; }
public:
property AutoDisconnectMode AutoDisconnectMode {
AutoDisconnectMode get ();
void set (AutoDisconnectMode value);
}
member AutoDisconnectMode : AutoDisconnectMode with get, set
function get AutoDisconnectMode () : AutoDisconnectMode
function set AutoDisconnectMode (value : AutoDisconnectMode)
Значение свойства
Тип: Microsoft.SqlServer.Management.Common.AutoDisconnectMode
A AutoDisconnectMode object value that specifies the automatic disconnection mode of the referenced connection.
Примеры
Отсоединение от экземпляра SQL Server