DatabaseAdapterBase.AutoShrink Property

 

Applies To: SQL Server 2016 Preview

Gets or sets a value that indicates whether the AutoShrink is on.

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

Syntax

public bool AutoShrink { get; set; }
public:
property bool AutoShrink {
    virtual bool get() sealed;
    virtual void set(bool value) sealed;
}
abstract AutoShrink : bool with get, set
override AutoShrink : bool with get, set
Public Property AutoShrink As Boolean

Property Value

Type: System.Boolean

true if the AutoShrink is on; otherwise, false.

See Also

DatabaseAdapterBase Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top