共用方式為


AutoShrink 屬性

Gets or sets a Boolean value

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

語法

'宣告
Public Property AutoShrink As Boolean
    Get
    Set
'用途
Dim instance As DatabaseAdapterBase
Dim value As Boolean

value = instance.AutoShrink

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

屬性值

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