DatabaseAdapterBase.AutoShrink Property

Gets or sets a Boolean value

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

Syntax

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

Property Value

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