Partilhar via


Propriedade AutoClose

Gets or sets a Boolean value

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Property AutoClose As Boolean
    Get
    Set
'Uso
Dim instance As DatabaseAdapterBase
Dim value As Boolean

value = instance.AutoClose

instance.AutoClose = value
public bool AutoClose { get; set; }
public:
virtual property bool AutoClose {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract AutoClose : bool with get, set
override AutoClose : bool with get, set
final function get AutoClose () : boolean
final function set AutoClose (value : boolean)

Valor da propriedade

Tipo: System. . :: . .Boolean
T:System.Boolean.
Returns True if AutoClose is on. Otherwise, False.