Freigeben über


AutoClose-Eigenschaft

Gets or sets a Boolean value

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

Syntax

'Declaration
Public Property AutoClose As Boolean
    Get
    Set
'Usage
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)

Eigenschaftswert

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