Partager via


Propriété DatabaseAdapterBase.AutoClose

Gets or sets a Boolean value

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property AutoClose As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

DatabaseAdapterBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo