共用方式為


AutoClose 屬性

Gets or sets a Boolean value

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property AutoClose As Boolean
    Get
    Set
'用途
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)

屬性值

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