Proprietà ConnectionManager.AutoDisconnectMode
Gets or sets the automatic disconnection mode of the referenced connection to the instance of SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Property AutoDisconnectMode As AutoDisconnectMode
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Common.AutoDisconnectMode
A AutoDisconnectMode object value that specifies the automatic disconnection mode of the referenced connection.
Esempi
Disconnessione da un'istanza di SQL Server