Compartir a través de


AutoDisconnectMode Propiedad

Gets or sets the automatic disconnection mode of the referenced connection to the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Property AutoDisconnectMode As AutoDisconnectMode
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Common. . :: . .AutoDisconnectMode
A AutoDisconnectMode object value that specifies the automatic disconnection mode of the referenced connection.