Propriedade do RDL ConnectionManager.AutoDisconnectMode
Gets or sets the automatic disconnection mode of the referenced connection to the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
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 da propriedade
Tipo: Microsoft.SqlServer.Management.Common.AutoDisconnectMode
A AutoDisconnectMode object value that specifies the automatic disconnection mode of the referenced connection.
Exemplos
Desconectando de uma instância do SQL Server